react-loading-overlay icon indicating copy to clipboard operation
react-loading-overlay copied to clipboard

can't use it with TS

Open kanso-git opened this issue 5 years ago • 4 comments

error_react-loading-overlay

kanso-git avatar Sep 14 '19 16:09 kanso-git

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 :)

tony-luisi avatar Oct 04 '19 00:10 tony-luisi

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

https://github.com/derrickpelletier/react-loading-overlay/pull/41

Haseeb710 avatar Apr 17 '20 13:04 Haseeb710

contribution complete. please merge

angelxmoreno avatar Oct 25 '20 22:10 angelxmoreno

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.

tjosepo avatar Jul 02 '21 23:07 tjosepo