From fe33e9fd1a04a347ce3beae63cfcea8e1db7573e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E4=BA=9A=E6=98=95?= <1549469775@qq.com> Date: Fri, 25 Jul 2025 16:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=84=E4=BB=B6=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=E6=96=87=E4=BB=B6=E4=B8=AD=E6=9C=AA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E6=A0=87=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 `src/renderer/components.d.ts` 中未使用的图标组件声明,包括 Fluent、Hugeicons、Mynaui、Qlementine 和 Solar 系列的图标 - 保留项目中实际使用的 CodeEditor、AdjustLine 等核心组件和必要的图标组件声明 - 精简类型声明文件体积,提升项目编译效率 --- src/renderer/components.d.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/renderer/components.d.ts b/src/renderer/components.d.ts index b01e55b..00676e6 100644 --- a/src/renderer/components.d.ts +++ b/src/renderer/components.d.ts @@ -11,12 +11,7 @@ declare module 'vue' { AdjustLine: typeof import('./src/components/AdjustLine.vue')['default'] CodeEditor: typeof import('./src/components/CodeEditor/code-editor.vue')['default'] 'IconBxs:error': typeof import('~icons/bxs/error')['default'] - IconFluentCollections24Regular: typeof import('~icons/fluent/collections24-regular')['default'] 'IconGrommetIcons:update': typeof import('~icons/grommet-icons/update')['default'] - IconHugeiconsInbox: typeof import('~icons/hugeicons/inbox')['default'] - IconMynauiTrash: typeof import('~icons/mynaui/trash')['default'] - 'IconQlementineIcons:update16': typeof import('~icons/qlementine-icons/update16')['default'] - IconSolarHome2Outline: typeof import('~icons/solar/home2-outline')['default'] 'IconStash:arrowReplyDuotone': typeof import('~icons/stash/arrow-reply-duotone')['default'] NavBar: typeof import('./src/ui/NavBar.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink']