1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

types(Dialog): fix Dialog.Component typing ()

This commit is contained in:
陈嘉涵 2020-02-12 17:54:48 +08:00
parent aceaa2f739
commit 9b53839d49
2 changed files with 2 additions and 1 deletions

@ -2,5 +2,6 @@ import Vue from 'vue';
export class VanComponent { export class VanComponent {
static name: string; static name: string;
static install(vue: typeof Vue): void; static install(vue: typeof Vue): void;
} }

2
types/dialog.d.ts vendored

@ -34,7 +34,7 @@ export interface Dialog {
install(): void; install(): void;
setDefaultOptions(options: DialogOptions): void; setDefaultOptions(options: DialogOptions): void;
resetDefaultOptions(): void; resetDefaultOptions(): void;
Component: VanComponent; Component: typeof VanComponent;
} }
declare module 'vue/types/vue' { declare module 'vue/types/vue' {