Type Alias SequenceArgsMapper<A, U, D>
SequenceArgsMapper<A, U, D>: { [K in keyof A]: ((...args: A[K]) => [] extends U[K] ? D : U[K])} Type Parameters
- A extends readonly unknown[][]
- U extends {
[K in keyof A]?: any
} = {
[K in keyof A]: unknown
} - D extends any = unknown
self explanatory analogue to RecordArgsMapper, except for
Arrays