RestArguments<T>: {
    [I in keyof T]: Iterable<T[I]>
}

Type of the rest arguments of a function. Use:

function foo<T extends any[]>(...args: RestArguments<T>) {
// ...;
}

Type Parameters

  • T

Generated using TypeDoc