Skip to content

Commit b48732c

Browse files
bennyliiDeepSeek V4 Pro
andcommitted
fix: remove src/shared from tsconfig.node.json to resolve TS6305
The shared types are already covered by the root tsconfig.json include. Including them in tsconfig.node.json with composite:true caused TS6305. Also fix unused isCustom parameter in ModelEditor. Co-Authored-By: DeepSeek V4 Pro <noreply@deepseek.com>
1 parent 2610ee8 commit b48732c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/renderer/src/components/models/ModelEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export function ModelEditor({
200200
}
201201
}
202202

203-
const renderModelTable = (modelList: EffectiveModel[], isCustom: boolean) => {
203+
const renderModelTable = (modelList: EffectiveModel[], _isCustom: boolean) => {
204204
if (modelList.length === 0) {
205205
return (
206206
<div className="text-center py-8 text-muted-foreground border rounded-lg">

tsconfig.node.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"electron.vite.config.ts",
1616
"src/main/**/*.ts",
1717
"src/preload/**/*.ts",
18-
"src/shared/**/*.ts",
1918
"src/types/**/*.d.ts",
2019
"src/main/types/**/*.d.ts"
2120
]

0 commit comments

Comments
 (0)