type Tuple<T> = [...T];Type that represents a tuple, which is a fixed-length array of elements of type T.
| Type Parameter | Default type | Description |
|---|---|---|
|
|
|
The type of the elements in the tuple, defaults to |
// MyTuple is [number, string]
type MyTuple = Tuple<[number, string]>;