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-recaptcha-v3' #19

Open
raphaelpc opened this issue Oct 3, 2019 · 2 comments
Open

Comments

@raphaelpc
Copy link

Hello!
Did anyone else get this error and was able to find a solution?
Thanks in advance!

Could not find a declaration file for module 'react-recaptcha-v3'. 'c:/ambiente-trabalho/desenvolvimento/workspaces/vscode/siev-frontend/node_modules/react-recaptcha-v3/dist/index.js' implicitly has an 'any' type.
Try npm install @types/react-recaptcha-v3 if it exists or add a new declaration (.d.ts) file containing declare module 'react-recaptcha-v3';ts(7016)

@servrox
Copy link

servrox commented Nov 27, 2019

Create react-recaptcha-v3.d.ts with following content: declare module 'react-recaptcha-v3';

Include the newly generated file in your tsconfig.json
-> "include": ["src", "react-recaptcha-v3.d.ts"]

@peterblazejewicz
Copy link

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

3 participants