diff --git a/types/component.d.ts b/types/component.d.ts index 62669282d..05a459d0a 100644 --- a/types/component.d.ts +++ b/types/component.d.ts @@ -2,5 +2,6 @@ import Vue from 'vue'; export class VanComponent { static name: string; + static install(vue: typeof Vue): void; } diff --git a/types/dialog.d.ts b/types/dialog.d.ts index 22d114632..b7a81ec5b 100644 --- a/types/dialog.d.ts +++ b/types/dialog.d.ts @@ -34,7 +34,7 @@ export interface Dialog { install(): void; setDefaultOptions(options: DialogOptions): void; resetDefaultOptions(): void; - Component: VanComponent; + Component: typeof VanComponent; } declare module 'vue/types/vue' {