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.
Biggest type-safety upgrade still available in TS strict mode. Forces
arr[i]andrecord[key]to beT | 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.jsonfirst to scope the migration.