davidmfoley / react-router-modal

Simple modals for react-router 4
MIT License
153 stars 20 forks source link

Typescript @types #31

Open lXSPandora opened 6 years ago

lXSPandora commented 6 years ago

Add typescript types for the library

davidmfoley commented 6 years ago

This is a great idea. I'm a TypeScript novice but I think the types should be pretty similar to the flow types that are already there, e.g. https://github.com/davidmfoley/react-router-modal/blob/master/src/modal_container.js#L17

lXSPandora commented 6 years ago

We need the index.d.ts to work with typescript

kdshop commented 5 years ago

Any news on that topic @davidmfoley ?

kodunmi commented 3 years ago

still no support for typescript ?