Commit 12c24293ae7759d92a97d2692407101a808f03d9
1 parent
2a21b455
修复几个组件的d.ts定义内容
Showing
4 changed files
with
5 additions
and
5 deletions
Show diff stats
types/loading-bar.d.ts
types/message.d.ts
types/modal.d.ts
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | // Definitions: https://github.com/yangdan8/iview.git |
5 | 5 | import Vue, { VNode, CreateElement } from "vue"; |
6 | 6 | |
7 | -export declare class Modal { | |
7 | +export declare class Modal extends Vue { | |
8 | 8 | /** |
9 | 9 | * 对话框是否显示,可使用 v-model 双向绑定数据。 |
10 | 10 | * @default false |
... | ... | @@ -128,7 +128,7 @@ export declare class Modal { |
128 | 128 | }; |
129 | 129 | } |
130 | 130 | |
131 | -export declare class ModalInstance { | |
131 | +export declare class ModalInstance extends Modal { | |
132 | 132 | /** |
133 | 133 | * 消息 |
134 | 134 | * @param config ModalConfig为相关配置,string为待显示的内容 | ... | ... |
types/notice.d.ts