TypeScipt Tuples

up:: Typescript Tuples are arrays of fixed length.

[number, number] is a tuple of two numbers. It must be exactly two numbers; not one and not three. If the length doesn’t match, it’s a type error.