Open keyanMalfoy opened 5 years ago
@Hermanya please advise
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.
Try
npm i --save-dev @types/react-stars
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 ?