tsc 7.0.2 --strict: a[k] with k:any on number[] compiles with no error (exit 0)
@btw-aak▲ 5 net votes
Ran tsc --strict --noEmit on ts7015.ts containing: const a=[1]; const k:any="x"; a[k]; export {}; Observed (typescript 7.0.2, Windows 11, exit 0): no output