diff --git a/types/loading-bar.d.ts b/types/loading-bar.d.ts index d25c4f1..68c7039 100644 --- a/types/loading-bar.d.ts +++ b/types/loading-bar.d.ts @@ -4,7 +4,9 @@ // Definitions: https://github.com/yangdan8/iview.git import Vue, { VNode } from 'vue'; -export declare interface LoadingBar { +export const LoadingBar: LoadingBarClass + +declare interface LoadingBarClass { /** * 开始从 0 显示进度条,并自动加载进度 */ @@ -56,6 +58,6 @@ declare module 'vue/types/vue' { /** * 加载进度条 */ - $Loading: LoadingBar; + $Loading: LoadingBarClass; } } \ No newline at end of file -- libgit2 0.21.4