There is a new method being added for Array: at
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
I think typing this in a way that undefined is returned would allow a gradual adoption of the noUncheckedIndexedAccess rule:
at(index: number): T | undefined;
There is a new method being added for
Array:athttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
I think typing this in a way that
undefinedis returned would allow a gradual adoption of thenoUncheckedIndexedAccessrule: