refactor: 合并全局类型声明

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

No files matched your search

+13 -2
View File
@@ -8,6 +8,17 @@ declare global {
list: T; list: T;
total: number; total: number;
} }
}
export {}; type DialogType = {
title?: string;
visible: boolean;
};
type OptionType = {
value: string;
label: string;
checked?: boolean;
children?: OptionType[];
};
}
-11
View File
@@ -1,11 +0,0 @@
declare type DialogType = {
title?: string;
visible: boolean;
};
declare type OptionType = {
value: string;
label: string;
checked?: boolean;
children?: OptionType[];
};