修复使用ts模式时不能按需引入组件的问题

This commit is contained in:
yangd 2019-05-07 17:14:49 +08:00
parent 9837e9af02
commit 539e96c58c
58 changed files with 92 additions and 92 deletions

6
types/notice.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, CreateElement } from "vue";
export declare interface Notice {
export declare class Notice {
/**
*
* @param config NoticeConfig为相关配置,string为待显示的内容
@ -44,7 +44,7 @@ export declare interface Notice {
destroy(): void;
}
export declare interface NoticeConfig {
export declare class NoticeConfig {
/**
*
*/
@ -72,7 +72,7 @@ export declare interface NoticeConfig {
onClose?: Function;
}
export declare interface NoticeGlobalConfig {
export declare class NoticeGlobalConfig {
/**
* 24
*/