0

I am using a react-scrollable-picker from the https://ayame30.github.io/react-scrollable-picker/

but it shows an error like

Could not find a declaration file for module 'react-scrollable-picker'. '/directory/node_modules/react-scrollable-picker/lib/react-scrollable-picker.js' implicitly has an 'any' type. Try npm i --save-dev @types/react-scrollable-picker if it exists or add a new declaration (.d.ts) file containing declare module 'react-scrollable-picker';

again i try npm i --save-dev @types/react-scrollable-picker but looks like registry not found, how i can resolved this issue.?

enter image description here

1 Answers1

0

You could add you own declaration file as per plan C in this post. Also check out this post on stackoverflow.

Leigh.D
  • 463
  • 5
  • 13