VariadicArgs
VariadicArgs<
T> = [readonlyT[]] |T[]
Defined in: packages/core/src/function/variadic-args.ts:33
Rest parameter type for a function overloaded to accept an array or loose values.
Type Parameters
Section titled “Type Parameters”T
The element type. Must not itself be an array type: the two
shapes are told apart by looking at the first argument, so
VariadicArgs<number[]> would be ambiguous.