Type alias RestOrArray<Type>

RestOrArray<Type>: Type[] | [Type[]]

Represents data that may be an array or came from a rest parameter.

Type Parameters

  • Type

Remarks

This type is used throughout builders to ensure both an array and variadic arguments may be used. It is normalized with normalizeArray.

Generated using TypeDoc