From a32d26500c6d760b49844ced7ba21479a280b1b6 Mon Sep 17 00:00:00 2001 From: Christian-martinez-andrades <43846327+Christian-martinez-andrades@users.noreply.github.com> Date: Sat, 23 May 2020 13:16:51 +0200 Subject: [PATCH] Update variable name Import name swal and const swal declaration made conflicts --- typings/sweetalert.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/sweetalert.d.ts b/typings/sweetalert.d.ts index f7220ea4..0cf42ea5 100644 --- a/typings/sweetalert.d.ts +++ b/typings/sweetalert.d.ts @@ -1,9 +1,9 @@ import swal, { SweetAlert } from "./core"; declare global { - const swal: SweetAlert; + const _swal: SweetAlert; const sweetAlert: SweetAlert; } -export default swal; +export default _swal; export as namespace swal;