From c734ea7c57fa79a3d22eca23e6fa8e7d5f345618 Mon Sep 17 00:00:00 2001 From: yangd Date: Thu, 29 Nov 2018 13:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D#4465?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/loading-bar.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/loading-bar.d.ts b/types/loading-bar.d.ts index d25c4f18..68c70394 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