We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82c8869 commit 9abfa4cCopy full SHA for 9abfa4c
1 file changed
typings/sweetalert.d.ts
@@ -1,9 +1,8 @@
1
-import swal, { SweetAlert } from "./core";
+import { SweetAlert } from "./core";
2
3
declare global {
4
- const swal: SweetAlert;
5
const sweetAlert: SweetAlert;
6
}
7
-
+declare const swal: SweetAlert;
8
export default swal;
9
export as namespace swal;
0 commit comments