teodosii / react-notifications-component

Delightful and highly customisable React Component to notify your users
https://teodosii.github.io/react-notifications-component/
MIT License
1.27k stars 73 forks source link

jsdoc/typehinting for code intellisense? #59

Closed mdecurtins closed 4 years ago

mdecurtins commented 4 years ago

Hi,

Great library, thank you! Would like to suggest an enhancement to allow IDEs like VSCode to provide IntelliSense for your API. Right now the code works but type hinting is lacking, so addNotification for example shows up as any:

image

teodosii commented 4 years ago

Will add typescript support, closing this ticket as there's one for TS.