1.将class定义方式修改为interface定义,方面未来扩展

2.补全失的导入导出类型
This commit is contained in:
yangd 2018-09-03 09:15:30 +08:00
parent 8ecc0312c3
commit 4a2af4f570
59 changed files with 158 additions and 158 deletions

6
types/checkbox.d.ts vendored
View file

@ -2,9 +2,9 @@
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue,{ VNode } from 'vue';
import Vue, { VNode } from 'vue';
export declare class Checkbox extends Vue {
export declare interface Checkbox extends Vue {
/**
* 使使 v-model
* @default false
@ -44,7 +44,7 @@ export declare class Checkbox extends Vue {
$emit(eventName: 'on-change', value: boolean): this;
}
export declare class CheckboxGroup extends Vue {
export declare interface CheckboxGroup extends Vue {
/**
* 使 v-model
* @default []