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-currency-format' #17

Open
crzytaghi opened this issue Mar 2, 2021 · 1 comment
Open

Comments

@crzytaghi
Copy link

Received this error when I tried to import the file after running a yarn add react-currency-format, Could not find a declaration file for module 'react-currency-format'. '....../node_modules/react-currency-format/lib/currency-format.js' implicitly has an 'any' type.

I tried removing and re-installing the package but was still running into the issue. Any help is greatly appreciated.

@m11dedhia
Copy link

@crzytaghi i am facing the same issue, and what i noticed is that since i was using react v17.0.2 it was throwing this error. Can someone confirm if this works in react 17.0.2 as well?

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

2 participants