You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package is missing a Typescript module declaration.
error TS7016: Could not finda declaration filefor module 'fslightbox-react'. '/Users/yamilelias/Development/platsage/node_modules/fslightbox-react/index.js' implicitly has an 'any'type.
Try `npm i--save-dev @types/fslightbox-react` if it existsoraddanew declaration (.d.ts) file containing `declare module 'fslightbox-react';`
11import FsLightbox from 'fslightbox-react'
It is something easy to solve but it is missing in the documentation and the README file of the project.
The text was updated successfully, but these errors were encountered:
Create a file named fslightbox-react.d.ts in your project's src or typings directory (or any directory included in your TypeScript configuration) and add the following line to the file:
The package is missing a Typescript module declaration.
It is something easy to solve but it is missing in the documentation and the README file of the project.
The text was updated successfully, but these errors were encountered: