From 503e2d8487f4d3b678b1813d7c2a13c7acdcd673 Mon Sep 17 00:00:00 2001 From: ClariS <1457715339@qq.com> Date: Mon, 2 Dec 2024 10:22:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=88=A0=E9=99=A4=20global-components.?= =?UTF-8?q?d.ts=20=E6=B3=A8=E9=87=8A=E5=A4=9A=E4=BD=99=E7=9A=84=E6=8B=AC?= =?UTF-8?q?=E5=8F=B7=20(#221)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/global-components.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/global-components.d.ts b/types/global-components.d.ts index d19a531..cf5aa36 100644 --- a/types/global-components.d.ts +++ b/types/global-components.d.ts @@ -2,7 +2,7 @@ import type SvgIcon from "@@/components/SvgIcon/index.vue" export {} -// 由 app.component 全局注册的组件需要在这里声明 TS 类型才能获得 Volar 插件提供的类型提示) +// 由 app.component 全局注册的组件需要在这里声明 TS 类型才能获得 Volar 插件提供的类型提示 declare module "vue" { export interface GlobalComponents { SvgIcon: typeof SvgIcon