jamesplease / redux-resource

3kb resource management for Redux
https://redux-resource.js.org
MIT License
237 stars 28 forks source link

[Question] Typescript Support #473

Open rhalaly opened 4 years ago

rhalaly commented 4 years ago

Do you support Typescript?

jamesplease commented 4 years ago

Unfortunately, no. When I wrote this library, I didn’t know how to write TS. If I had created this in 2020 rather than 2016 it would be TS, but it’s just JS.

I don’t plan to make any major updates to this lib, so it’s unlikely that I will refactor it to be TS. But I would review PRs!

rhalaly commented 4 years ago

Thanks. AFAIK, to support typescript you need to add *.d.ts files to your repo / https://github.com/DefinitelyTyped/DefinitelyTyped.

You don't need to write everything from scratch in TS...

jamesplease commented 4 years ago

PRs welcome! I don’t have the time, unfortunately.