From 57fd3099078bc0d6ebeb49c727107eab1acce6bd Mon Sep 17 00:00:00 2001 From: dap <dap@qq.com> Date: 星期三, 29 五月 2024 09:32:49 +0800 Subject: [PATCH] fix: 类型报错 --- src/types/global.d.ts | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/types/global.d.ts b/src/types/global.d.ts index c6cb210..229e181 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -1,11 +1,9 @@ -import type { ComponentInternalInstance as ComponentInstance, PropType as VuePropType } from 'vue/runtime-core'; +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