import swal, { SweetAlert } from "./core";

declare global {
  const swal: SweetAlert;
  const sweetAlert: SweetAlert;
}

export default swal;
export as namespace swal;

import { SweetAlert } from "./core";

declare global {
  const sweetAlert: SweetAlert;
}
declare const swal: SweetAlert;
export default swal;
export as namespace swal;

Fix Error to TypeScript Import
Fix Error to TypeScript Import
