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/notify.d.ts vendored
View File

@@ -34,8 +34,8 @@ export interface Notify {
Component: typeof VanComponent;
}
declare module 'vue/types/vue' {
interface Vue {
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$notify: Notify;
}
}