From 26d1372041c0b97c62261b176b90b67fb87334d1 Mon Sep 17 00:00:00 2001 From: Jasery Date: Wed, 5 Nov 2025 15:09:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(types):=20=E6=B7=BB=E5=8A=A0=E6=A0=91?= =?UTF-8?q?=E7=8A=B6=E7=BB=93=E6=9E=84=E8=8A=82=E7=82=B9=E5=92=8C=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/{index.ts => index.d.ts} | 0 tsconfig.json | 2 +- tsconfig.node.json | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename src/types/{index.ts => index.d.ts} (100%) diff --git a/src/types/index.ts b/src/types/index.d.ts similarity index 100% rename from src/types/index.ts rename to src/types/index.d.ts diff --git a/tsconfig.json b/tsconfig.json index 30896b7..a0cbb9b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ }, "lib": ["esnext", "dom"] }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/renderer", "src/types"], + "include": ["src/*.ts", "src/*.d.ts", "src/renderer"], "exclude": ["src/main", "src/preload"], "references": [ { diff --git a/tsconfig.node.json b/tsconfig.node.json index e519ecd..b813579 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -12,6 +12,7 @@ "include": [ "src/main", "src/preload", + "src/types", "package.json", "eslint.config.ts", "vite.config.mts",