juliancwirko / react-s-alert

Alerts / Notifications for React with rich configuration options
https://www.npmjs.com/package/react-s-alert
MIT License
649 stars 69 forks source link

Type definition #55

Closed mitsuruog closed 7 years ago

mitsuruog commented 7 years ago

Does anyone has planned to have the type definition for TypeScript?

I am a big fan of this project. and I am using this a lot. Thanks!!

mitsuruog commented 7 years ago

Alright, I'll make it.

juliancwirko commented 7 years ago

Sorry, I don' use Typescript with React yet, so I can't help here ;)

mitsuruog commented 7 years ago

No worry. since I made a new PR here, It will be able to use soon.

mitsuruog commented 7 years ago

Merged. then we can use the type definition.

npm install @types/react-s-alert

let me know if it has any problem. FYI @juliancwirko