配列の要素数と要素の型を固定される

let tuple: [string, number];
tuple = ["hello", 10]; // OK
tuple = [10, "hello"]; // [エラー]
tuple = ["hello", 10, "world"]; // [エラー] 

要素にアクセス

添え字(インデックス)を使ってアクセスできる

const tuple: [string, number] = ["hello", 10];
console.log(tuple[0]); // hello