noUncheckedIndexedAccess
does not work correctly with Array
#45306
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
Bug Report
π Search Terms
noUncheckedIndexedAccess
with arraysπ Version & Regression Information
noUncheckedIndexedAccess
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
Get following errors:
π Expected behavior
The code should not generate any error since the array is type
string[]
and not(string|undefined)[]
The text was updated successfully, but these errors were encountered: