News for hackers. Stuff that matters.
Re:I’m porting the TypeScript type checker tsc to Go by matt_kantor on Tuesday January 25, 2022 @10:56PM (#30081499)
> i don’t know if TypeScript asserts that x[i] is T | undefined if x is T[] and the length is non-trivial

There's a flag for that: https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAc...

There are no comments on this comment yet.