redux-resource icon indicating copy to clipboard operation
redux-resource copied to clipboard

[Question] Typescript Support

Open rhalaly opened this issue 5 years ago • 3 comments

Do you support Typescript?

rhalaly avatar Jun 20 '20 14:06 rhalaly

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!

jamesplease avatar Jun 20 '20 15:06 jamesplease

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...

rhalaly avatar Jun 20 '20 15:06 rhalaly

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

jamesplease avatar Jun 20 '20 15:06 jamesplease