refactor: 合并全局类型声明

Former-commit-id: 4eec544ff1a4870150c59f36db06f27f92ad6595
This commit is contained in:
haoxr
2022-12-18 13:16:21 +08:00
parent aab09510b7
commit e138347ac4
2 changed files with 13 additions and 13 deletions

15
types/global.d.ts vendored
View File

@@ -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
View File

@@ -1,11 +0,0 @@
declare type DialogType = {
title?: string;
visible: boolean;
};
declare type OptionType = {
value: string;
label: string;
checked?: boolean;
children?: OptionType[];
};