From e138347ac46389b8b278f171e32738e59edd9b48 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sun, 18 Dec 2022 13:16:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=90=88=E5=B9=B6=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E7=B1=BB=E5=9E=8B=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 4eec544ff1a4870150c59f36db06f27f92ad6595 --- types/global.d.ts | 15 +++++++++++++-- types/index.d.ts | 11 ----------- 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 types/index.d.ts diff --git a/types/global.d.ts b/types/global.d.ts index 613553d0..55420fa9 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -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[]; + }; + +} diff --git a/types/index.d.ts b/types/index.d.ts deleted file mode 100644 index c73642a0..00000000 --- a/types/index.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare type DialogType = { - title?: string; - visible: boolean; -}; - -declare type OptionType = { - value: string; - label: string; - checked?: boolean; - children?: OptionType[]; -};