benhowell/react-grid-gallery

is:issue is:open ould not find a declaration file for module 'react-grid-gallery'. '/Users/../../node_modules/react-grid-gallery/lib/Gallery.js' implicitly has an 'any' type. Try `npm install @types/react-grid-gallery` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-grid-gallery';`ts(7016)

satyamkr571 opened this issue · 5 comments

Screenshot 2020-07-14 at 9 09 43 AM

not able to import react-grid-gallery

is:issue is:open ould not find a declaration file for module 'react-grid-gallery'. '/Users/../../node_modules/react-grid-gallery/lib/Gallery.js' implicitly has an 'any' type. Try npm install @types/react-grid-gallery if it exists or add a new declaration (.d.ts) file containing declare module 'react-grid-gallery';ts(7016)

Steps to reproduce behaviour

Mac OS Catalina

Browser and version

Hardware

I have the same error but using TypeScript. You're not using TS and getting this? that's weird

I'm having the same error without using Typescript.
I'm using Node 12.14.0 and react-grid-gallery@0.5.5 on Windows 10.

@satyamkr571 any solutions?

@satyamkr571 any solutions?

I have created my own gallery for pictures I have not used this library