Skip to content

Commit c59b6d6

Browse files
cmdcolinclaude
andcommitted
Enable noUncheckedIndexedAccess: true in tsconfig
Better type safety for array/object access. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 964a2ba commit c59b6d6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"allowImportingTsExtensions": true,
1515
"rewriteRelativeImportExtensions": true,
1616
"esModuleInterop": true,
17-
"skipLibCheck": true
17+
"skipLibCheck": true,
18+
"noUncheckedIndexedAccess": true
1819
}
1920
}

0 commit comments

Comments
 (0)