-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add types for Typescript #22
Comments
Hi, thanks for opening the issue and for using this package. At the moment, you can create a d.ts file in your project to avoid ts warning:
|
Hi Josh,
sounds fantastic. Thank you very much. I will try this trick out later.
Merry Christmas and have a nice day.
Regards
Josh Kuttler <notifications@github.com> schrieb am Do., 24. Dez. 2020,
14:45:
… Hi, thanks for opening the issue and for using this package.
I'll soon update this library to be in TS and it will include types.
At the moment, you can create a d.ts file in your project to avoid ts
warning:
react-spinners-css.d.ts
and inside:
declare module 'react-spinners-css';
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTVHIHJUILUZIOCGU6UXFLSWNAYTANCNFSM4VFZRB6A>
.
|
Hi, I published a new version with TypeScript support!! |
hello , i am getting UnhandledPromiseRejectionWarning: Unhandled promise rejection on typescript |
I tried to use this very promising looking spinner package in a typescript project.
And Typescript's linter told me that:
But there doesn't seem to be a
@types/react-spinners-css
package in the npm registry.Will you add one, or can you tell me how I can make one by myself and publish it for others?
I never did that before, but I would tackle it after getting help about where to start :)
Kind regards
The text was updated successfully, but these errors were encountered: