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

can't use it with TS #39

Open
kanso-git opened this issue Sep 14, 2019 · 4 comments
Open

can't use it with TS #39

kanso-git opened this issue Sep 14, 2019 · 4 comments

Comments

@kanso-git
Copy link

error_react-loading-overlay

@tony-luisi
Copy link

While Typescript doesn't appear to be supported, as a workaround, you may add the following to a global.d.ts file:

declare module 'react-loading-overlay'

Contributing to the repository via a pull request I'm sure would be most welcome :)

@Haseeb710
Copy link

@tony-luisi can you please complete the merge lot of user facing TS issue.Thanks

#41

@angelxmoreno
Copy link

contribution complete. please merge

@tjosepo
Copy link

tjosepo commented Jul 2, 2021

I made a PR on the DefinitelyTyped repository for this library.

The types and they are now available on npm by doing:

npm i --save-dev @types/react-loading-overlay

Feel free to submit your own PR on DefinitelyTyped and modify the type definitions if I made a mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants