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