Version: 2 rc
Given:
const cell: [ number, number ] = [ 0, 1 ];
const y = cell[100]
y
I expect cell[100] to error, but it doesn't. y has a type of number. This means it's very easy to me to have bugs whereby I'm asking for an index that doesn't exist (like asking for a property that doesn't exist on an object).