From df3f209be91152826db17b08e85eb2f166a821b8 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Mon, 2 Dec 2024 17:17:48 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4=E5=86=97=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/global-components.d.ts | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 types/global-components.d.ts diff --git a/types/global-components.d.ts b/types/global-components.d.ts deleted file mode 100644 index cf5aa366..00000000 --- a/types/global-components.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type SvgIcon from "@@/components/SvgIcon/index.vue" - -export {} - -// 由 app.component 全局注册的组件需要在这里声明 TS 类型才能获得 Volar 插件提供的类型提示 -declare module "vue" { - export interface GlobalComponents { - SvgIcon: typeof SvgIcon - } -}