Skip to content

Add noUncheckedIndexedAccess to tsconfig #277

Open
@mattrunyon

Description

@mattrunyon

microsoft/TypeScript#13778

The issue above explains in detail, but basically without this rule enabled, TypeScript does not complain when a value is possibly undefined because it is accessed via indexing such as myArr[i] or myObj[someStrVar]

We should enable this to better catch any potential errors caused by uncaught undefined values

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions