Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a declaration file for module 'react-native-flip-toggle-button' with TypeScript #25

Open
Schtakelberg opened this issue Jan 21, 2021 · 0 comments

Comments

@Schtakelberg
Copy link

Could not find a declaration file for module 'react-native-flip-toggle-button'. '/Users/alexey/zaimimne-rn/ProjectTSC/node_modules/react-native-flip-toggle-button/FlipToggle.js' implicitly has an 'any' type.
Try npm i --save-dev @types/react-native-flip-toggle-button if it exists or add a new declaration (.d.ts) file containing declare module 'react-native-flip-toggle-button';ts(7016)

Tried to npm i --save-dev @types/react-native-flip-toggle-button
but get
E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2freact-native-flip-toggle-button - Not found
npm ERR! 404
npm ERR! 404 '@types/react-native-flip-toggle-button@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant