nandi95 / vue-toastify

🔥 Simple, extendable, dependency free notification plugin. 🔥
https://vue-toastify.netlify.com/
MIT License
227 stars 12 forks source link

feat(typedefs): add type definitions to the project #44

Closed ZachHaber closed 10 months ago

ZachHaber commented 10 months ago

🔗 Linked issue

❓ Type of change

📚 Description

This sets up typescript definition support for the project allowing typescript users to use the library and improving documentation by putting the docs inside the IDE.

📝 Checklist

ZachHaber commented 10 months ago

Note: This includes the types set up for #43. To remove those types, the VNode parts can be removed from ToastBody so it is defined as string only.