Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript

mods: the declarations' tsconfig template checks indexed access, as mods/tsconfig.json does

poteat4632d1a7c854
diff --git a/mods/types/claude-code.d.ts b/mods/types/claude-code.d.ts
index 9e07ea9e..c0c3f734 100644
--- a/mods/types/claude-code.d.ts
+++ b/mods/types/claude-code.d.ts
@@ -32,7 +32,8 @@
// "compilerOptions": {
// "target": "es2023", "lib": ["es2023"], "types": [],
// "module": "esnext", "moduleResolution": "bundler",
-// "strict": true, "noEmit": true, "skipLibCheck": true,
+// "strict": true, "noUncheckedIndexedAccess": true,
+// "noEmit": true, "skipLibCheck": true,
// "jsx": "react", "jsxFactory": "h", "jsxFragmentFactory": "Fragment"
// },
// "include": [".claude/types", "hooks", "tests"]