react-folder-tree
react-folder-tree copied to clipboard
Add Typescript support with .d.ts file
It would be great to have typescript support for typescript programmers, so they don't have to declare their own .d.ts file for this awsome module.
Hey, thanks for the suggestion, I am indeed planning to rewrite the whole lib to TS, just has been too busy to do it. Will let you know once it's done 😃
Thank you! I really appreciate your component, it saved me a lot of work.
Love this component. And typescript would make it perfect
Me three please haha
Hey @shunjizhan,
I was thinking about providing a Pull Request including TypeScript typings, i.e. a .d.ts
file. These might not be 100% accurate, but it could help people now, while they are waiting for your TS rewrite of the lib.
Is a PR welcome? Would you have time to review it?
sure! welcome to provide a PR, I can review it
just published a new version with types support, thanks to @IanStorm 's contribution! Feel free to try out the latest version and let me know if there is any issue