type ArrayValues<T> = ArrayElements<T>;Alias for `ArrayElements`.
Extracts the values of an Array type`.
| Type Parameter | Description |
|---|---|
|
|
The target |
Values of type T.
type Values = ArrayValues<[string, number]>; // string | number
type Never = ArrayValues<any>; // never