HurricaneJames / react-immutable-proptypes

PropType validators that work with Immutable.js.
MIT License
642 stars 46 forks source link

Add Typescript typing #50

Closed micmro closed 4 years ago

micmro commented 7 years ago

Thanks for writing this useful validators.

To make them even more useful when working with TypeScript or VS Code it would be great to additionally have type completion. I have added a Type Definition file to get autocompletion and TypeChecks (and some Tests for it). It would be great if you could release them with the npm package.

screen shot 2017-04-03 at 10 43 18 pm
micmro commented 7 years ago

Hi @HurricaneJames, do you have any concerns or feedback with this?

steveccable commented 5 years ago

Any updates on this? Trying to use TypeScript with this project myself, and while I could just do the same as this PR does in a local file, I'd rather see it just be there in the main one.

Just realized this project actually looks pretty dead - last update was years ago. :(