From 973c0f464c6a489178b2de27bc4be0234147a046 Mon Sep 17 00:00:00 2001 From: Mcchen1008 Date: Fri, 2 Oct 2026 11:18:08 +0000 Subject: [PATCH] =?UTF-8?q?fix(test):=20=E7=A7=BB=E9=99=A4=20DbCipher=20?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=AF=BC=E5=85=A5=EF=BC=8C=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=20tsc=20=E7=B1=BB=E5=9E=8B=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同一 import 语句中重复导入了 type DbCipher(第 5 行与第 14 行), 导致 pnpm lint(tsc --noEmit)报 TS2300 Duplicate identifier, 所有依赖类型检查的 CI 均被阻断。删除多余的一处导入即可。 Co-Authored-By: GLM --- src/backend/internal/model/db_cipher.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/internal/model/db_cipher.test.ts b/src/backend/internal/model/db_cipher.test.ts index 196c2115..c8c8d6e9 100644 --- a/src/backend/internal/model/db_cipher.test.ts +++ b/src/backend/internal/model/db_cipher.test.ts @@ -11,7 +11,6 @@ import { encryptConfigValue, isSealedCiphertext, resolveDbCipher, - type DbCipher, } from "../../pkg/crypto" import { readCipher } from "./store/backend" import { memoryDriver } from "./store/driver/memory"