-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add type declarations for TypeScript users #41
Comments
I'll try to take a look when I can, but if you put the types together yourself there's nothing stopping you from publishing that; the beauty of open source. My experience with TypeScript is pretty limited, so do those types need to correspond to the props? Thanks for opening the issue, as I know TS is really popular these days. |
Indeed, I did that (had to add a definition file in PS: I'm now using this in the app I'm working on. Thanks again for writing the library! |
Quick solution found here: https://medium.com/@steveruiz/using-a-javascript-library-without-type-declarations-in-a-typescript-project-3643490015f3 I may add typing if I get the chance :) |
@TaylorBriggs @roshnet While it's better when it's embedded within the repository, I've made a PR for typing DefinitelyTyped/DefinitelyTyped#64283 if you need to add it directly on the repo, just tell me I'll explain you. (would be better) |
Hi @TaylorBriggs,
I'm just came across this package. It looks good and worth trying out, but I cannot do that yet because of missing type declarations.
It would be great to have the corresponding
@types
declaration for this package, so that we can simply install types like so -For now, I guess I will add custom declaration file or something to make it work 🤞.
Thanks!
The text was updated successfully, but these errors were encountered: