1// Declare a tuple type
2let x: [string, number];
3// Initialize it
4x = ["hello", 10]; // OK
5// Initialize it incorrectly
6x = [10, "hello"]; // Error
7Type 'number' is not assignable to type 'string'.Type 'string' is not assignable to type 'number'.23222322Type 'number' is not assignable to type 'string'.Type 'string' is not assignable to type 'number'.Try