Skip to content

Commit 9abfa4c

Browse files
committed
Fix Error to TypeScript Import
1 parent 82c8869 commit 9abfa4c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

typings/sweetalert.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import swal, { SweetAlert } from "./core";
1+
import { SweetAlert } from "./core";
22

33
declare global {
4-
const swal: SweetAlert;
54
const sweetAlert: SweetAlert;
65
}
7-
6+
declare const swal: SweetAlert;
87
export default swal;
98
export as namespace swal;

0 commit comments

Comments
 (0)