RestOrArray

export type RestOrArray<T> = T[] | [
T[]
];
export type RestOrArray<T> = T[] | [
T[]
];
Represents data that may be an array or came from a rest parameter.
Remarks
This type is used throughout builders to ensure both an array and variadic arguments may be used. It is normalized with normalizeArray.