Skip to content

Commit d807116

Browse files
authored
Merge pull request #768 from aaroncolaco/master
Add default export. Fixes #761
2 parents d1e890a + bfd0e63 commit d807116

File tree

4 files changed

+74
-72
lines changed

4 files changed

+74
-72
lines changed

docs/assets/sweetalert/sweetalert.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 71 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sweetalert.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ declare global {
55
const sweetAlert: SweetAlert;
66
}
77

8-
export = swal;
8+
export default swal;
99
export as namespace swal;

typings/sweetalert.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ declare global {
55
const sweetAlert: SweetAlert;
66
}
77

8-
export = swal;
8+
export default swal;
99
export as namespace swal;

0 commit comments

Comments
 (0)