Skip to content

Glossary: TypeScript Basics

noUncheckedIndexedAccess

An extra option that adds `undefined` to every lookup by index or key, such as `prices[0]` or `PRODUCTS[sku]`. It forces a check for a missing SKU.

Where the book teaches it

Related terms

index signaturestrictNullChecks