Skip to content

Your lightweight open-source personal agent.

chore(tui): tighten TypeScript checks

Xubin Ren3fdf7ae64a46
diff --git a/tui/tsconfig.json b/tui/tsconfig.json
index 220ad4a64..79bdcaec5 100644
--- a/tui/tsconfig.json
+++ b/tui/tsconfig.json
@@ -5,7 +5,11 @@
"moduleResolution": "Bundler",
"strict": true,
"skipLibCheck": true,
+ "noFallthroughCasesInSwitch": true,
+ "noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
"noEmit": true,
"types": ["bun"]
},