type Pair = [string, number]
const entry: Pair = ['age', 30]
entry[0] // β 'age' (string)
entry[1] // β 30 (number)Tuple types enforce fixed-length arrays with specific types at each position.
A tuple is a fixed-length array where each position has a specific type.
Challenge: Implement createPair<T, U>(first, second) returning a [T, U] tuple.
createPair(1, 'a') // β [1, 'a']
createPair('x', true) // β ['x', true]