[[as const]]と[[typeof型演算子]]で`number`を指定するのがポイント。 ```ts const delimiters = ["comma", "tab"] as const; type Delimiter = typeof delimiters[number]; // Delimiter: "comma" | "tab" ```