Tuple
In TypeScript, a tuple is a type that represents an array with a fixed number of elements. The elements of a tuple can have different types, and the order of the elements is fixed.
ts
type Point = [number, number];
const point: Point = [10, 20];