derrickpelletier / react-loading-overlay

Loading overlays with fade, spinner, message support.
MIT License
256 stars 84 forks source link

implement typescript #41

Open anselmpaul opened 4 years ago

anselmpaul commented 4 years ago

tackling #39, here's my attempt to use this library with typescript. I'm sure it's not perfectly typed since I'm not too familiar with the codebase but it works :) Would love to hear your comments.

gorjan-mishevski commented 4 years ago

Why is this still not merged? He did a great job.

tschoeki commented 3 years ago

Wow....it's been over a year since this PR was opened....please merge it :)

ghost commented 3 years ago

So this will not be merged?

tjosepo commented 3 years ago

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

The types and they are now available on npm or 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.