refactor: 合并全局类型声明
Former-commit-id: 4eec544ff1a4870150c59f36db06f27f92ad6595
This commit is contained in:
15
types/global.d.ts
vendored
15
types/global.d.ts
vendored
@@ -8,6 +8,17 @@ declare global {
|
||||
list: T;
|
||||
total: number;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
type DialogType = {
|
||||
title?: string;
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
type OptionType = {
|
||||
value: string;
|
||||
label: string;
|
||||
checked?: boolean;
|
||||
children?: OptionType[];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
11
types/index.d.ts
vendored
11
types/index.d.ts
vendored
@@ -1,11 +0,0 @@
|
||||
declare type DialogType = {
|
||||
title?: string;
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
declare type OptionType = {
|
||||
value: string;
|
||||
label: string;
|
||||
checked?: boolean;
|
||||
children?: OptionType[];
|
||||
};
|
||||
Reference in New Issue
Block a user