Archived
2
0
This commit is contained in:
Craig
2020-04-05 03:17:06 +00:00
parent fa64f930a9
commit 9d484a49d0
12 changed files with 31 additions and 31 deletions

View File

@ -37,7 +37,7 @@ class VueSweetalert2 {
// @ts-ignore
if (Object.prototype.hasOwnProperty.call(Swal, methodName) && typeof Swal[methodName] === 'function') {
// @ts-ignore
swalFunction[methodName] = (method => {
swalFunction[methodName] = ((method) => {
return (...args: any[]) => {
// @ts-ignore
return Swal[method].apply(Swal, args)