t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.4k stars 2.84k forks source link

swal.close() requires an argument #814

Open mdashiff opened 6 years ago

mdashiff commented 6 years ago

I'm using sweet alert 2.1.0 swal.close() requires an argument to be passed as string. Typescript ionic 3 error.

any solutions

arihantdaga commented 6 years ago

I am facing the same... any solution for this yet.. ?

arihantdaga commented 6 years ago

My bad.. Few months ago i only submitted the PR.. 1173c6a8c28983cee0c9eb152e694d903060d9f6 This fixes it.. =D