From 2c8873402f94d26f6fffc43cfee9d254a27cc2df Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 16 八月 2024 13:01:54 +0800 Subject: [PATCH] update 优化 使用匹配模式简化预编译配置 --- src/types/global.d.ts | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 10cc438..229e181 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -1,12 +1,9 @@ -import type { ComponentInternalInstance as ComponentInstance } from 'vue/runtime-core'; -import type { PropType as VuePropType } from 'vue'; +import type { PropType as VuePropType, ComponentInternalInstance as ComponentInstance } from 'vue'; import { LanguageEnum } from '@/enums/LanguageEnum'; declare global { /** vue Instance */ declare type ComponentInternalInstance = ComponentInstance; - /**vue */ - declare type PropType<T> = VuePropType<T>; /** * 鐣岄潰瀛楁闅愯棌灞炴�� -- Gitblit v1.9.3