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

import ReactStars from 'react-stars'; #60

Open
keyanMalfoy opened this issue May 30, 2019 · 3 comments
Open

import ReactStars from 'react-stars'; #60

keyanMalfoy opened this issue May 30, 2019 · 3 comments

Comments

@keyanMalfoy
Copy link

I use React Stars in my tsx code.
I found this error “Customer/node_modules/react-stars/dist/react-stars.js' implicitly has an 'any' type.”
Could you tell me how to fix it ?

@olegberman
Copy link
Contributor

@Hermanya please advise

@Hermanya
Copy link
Contributor

Usually when someone in the community needs types for an untyped lib, they write types themselves and publish them on definitely typed (the @types/package-name). But in this case @olegberman showed interest in rewriting this lib in typescript, so it's possible we can resolve this issue in the near future.

@davidwhthomas
Copy link

Try

npm i --save-dev @types/react-stars

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

4 participants