first commit
This commit is contained in:
15
types/sweetalert2.d.ts
vendored
Normal file
15
types/sweetalert2.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type Swal from 'sweetalert2'
|
||||
|
||||
declare module '#app' {
|
||||
interface NuxtApp {
|
||||
$swal: typeof Swal
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
$swal: typeof Swal
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
Reference in New Issue
Block a user