Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
536 B

import { SweetAlertOptions } from 'sweetalert2';
import Swal from 'sweetalert2/dist/sweetalert2.js';
import Vue from 'vue';
export * from 'sweetalert2';
declare type TVueSwalInstance = typeof Swal & typeof Swal.fire;
declare module 'vue/types/vue' {
interface Vue {
$swal: TVueSwalInstance;
}
interface VueConstructor<V extends Vue = Vue> {
swal: TVueSwalInstance;
}
}
declare class VueSweetalert2 {
static install(vue: Vue | any, options?: SweetAlertOptions): void;
}
export default VueSweetalert2;