Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 518 Bytes

CHANGELOG.md

File metadata and controls

27 lines (18 loc) · 518 Bytes

tsconfig-seek

2.0.0

Major Changes

  • Default noUncheckedIndexedAccess to true (#7)

    This change sets the noUncheckedIndexedAccess compiler option to true by default.

    This flags potential issues with indexed access of arrays and records.

    Before:

    const a: string[] = [];
    const b = a[0];
    //    ^? const b: string

    After:

    const a: string[] = [];
    const b = a[0];
    //    ^? const b: string | undefined