Skip to content

tsconfig: enable noUncheckedIndexedAccess #768

@jorgeraad

Description

@jorgeraad

Biggest type-safety upgrade still available in TS strict mode. Forces arr[i] and record[key] to be T | undefined, surfacing whole classes of latent crashes (especially in agent tool dispatch and config lookups).

Plan: flip the flag, fix the diff incrementally — expect a sizable fix list. Consider gating with a separate tsconfig.strict.json first to scope the migration.

Metadata

Metadata

Assignees

Labels

cleanupCleanup, refactoring, and maintenance

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions