react-wheel-of-prizes
react-wheel-of-prizes copied to clipboard
Typescript Issue
Please consider exporting a .d.ts file with the package for people who use typescript. I am getting this error and having a type declaration file would make it much easier to deal with :) Thanks!
Could not find a declaration file for module 'react-wheel-of-prizes'. .../node_modules/react-wheel-of-prizes/dist/index.js' implicitly has an 'any' type. Try npm i --save-dev @types/react-wheel-of-prizes if it exists or add a new declaration (.d.ts) file containing declare module 'react-wheel-of-prizes';
@mountainfresh @shekharramola Copying my comment from another thread... I've converted this project locally into modern typescript usable with React 18 (and have fixed a couple of small bugs on the way), I can make a PR to merge those changes into this project if there's still demand
I personally think it would be great if you did @RyanMan56 even if it doesn't get merged I would use it in my project as well.
I personally think it would be great if you did @RyanMan56 even if it doesn't get merged I would use it in my project as well.
Cool I'll raise a PR in the next couple of days :)
good work! :)