types: fix ComponentCustomProperties

This commit is contained in:
chenjiahan
2020-09-01 15:58:15 +08:00
parent e2c082b204
commit 0acbc6ec21
3 changed files with 7 additions and 7 deletions

4
types/toast.d.ts vendored
View File

@@ -50,8 +50,8 @@ export interface Toast {
allowMultiple(allow: boolean): void;
}
declare module 'vue/types/vue' {
interface Vue {
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$toast: Toast;
}
}