#tsconfig
[[インデックス型]]や配列のインデックスアクセスが型安全 ([[undefined (JavaScript)|undefined]]の可能性を考慮して推論する) になる[[📒TSConfigのオプション]]。
```ts
declare const xs: number[];
declare const dict: { [key: string]: string };
const a = xs[0];
// noUncheckedIndexed: trueの場合 -> a: number | undefined
// noUncheckedIndexed: falseの場合 -> a: number
const b = dict["name"];
// noUncheckedIndexed: trueの場合 -> a: string | undefined
// noUncheckedIndexed: falseの場合 -> a: string
```