notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
https://notiflix.github.io
MIT License
648 stars 55 forks source link

[FEAT] - TS7016: Could not find a declaration file for module 'notiflix' #34

Closed tungChasqui closed 3 years ago

tungChasqui commented 3 years ago

Is your feature request related to a problem? Please describe. I don't want to always have to use // @ts-ignore with your library

Describe the solution you'd like Please add @types/notiflix

Describe alternatives you've considered Currently only use // @ ts-ignore or write a separate interface for it

Additional context image

furcan commented 3 years ago

Hi @tungChasqui

Notiflix v2.8.0 will be released asap and the TypeScript declaration will be included.

I will update this ticket when it has been released.

Thanks.

Furkan.

furcan commented 3 years ago

Hi @tungChasqui

Notiflix v3.0.1 has released. TypeScript Declaration has included.

Also, this is a Major version. So, please take a look at the CHANGELOG to prevent the possible causes.

Thanks, Furkan.