From 7904496df115c8df9b757c4c6ee2cb698dd79098 Mon Sep 17 00:00:00 2001 From: zl <11656279+xbbzjsj@user.noreply.gitee.com> Date: 星期四, 06 六月 2024 16:53:59 +0800 Subject: [PATCH] 层级错误,且element-plus按需引入不用配置tsconfig.json --- 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