react-native-looped-carousel
react-native-looped-carousel copied to clipboard
Added typings file
Added typings file for TypeScript
Do we need this? We're already using PropTypes. Is this file necessary when one wants to use the package in typescript or something?
If we're merging this - we'll need to support this...
I'm using react-native with typescript. I am getting this error when this file is not in the project.
[ts]
Could not find a declaration file for module 'react-native-looped-carousel'. '/path/to/project/node_modules/react-native-looped-carousel' implicitly has an 'any' type.
Try `npm install @types/react-native-looped-carousel` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-native-looped-carousel';`
this problem can be solved in two ways. 1- creating pull request on @types repo. 2-creating pull request on project repo.
I can open pull request to @types repo if you want.
need typings +1