sweetalert2 / ngx-sweetalert2

Declarative, reactive, and template-driven SweetAlert2 integration for Angular
MIT License
652 stars 94 forks source link

Property 'animation' does not exist on type 'SweetAlertOptions<any, any>' #189

Closed jongbonga closed 3 years ago

jongbonga commented 3 years ago

Error: node_modules/@sweetalert2/ngx-sweetalert2/lib/swal.component.d.ts:53:34 - error TS2339: Property 'animation' does not exist on type 'SweetAlertOptions<any, any>'. [ng] 53 animation: SweetAlertOptions['animation'];

chidongyh2 commented 3 years ago

I've got same issue :(

limonte commented 3 years ago

Hey guys! New major versions of sweetalert2 and ngx-sweetalert2 have been released. Please use versions according to this table:

image

The animation param was removed.

And of course do not forget to read the release notes of every major upgrade, there are always breaking changes in major releases: