types(Dialog): fix Dialog.Component typing (#5646)
This commit is contained in:
Vendored
+1
@@ -2,5 +2,6 @@ import Vue from 'vue';
|
||||
|
||||
export class VanComponent {
|
||||
static name: string;
|
||||
|
||||
static install(vue: typeof Vue): void;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -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' {
|
||||
|
||||
Reference in New Issue
Block a user