UNPKG

ts-toolbelt

Version:

TypeScript's largest utility library

84 lines (83 loc) • 3.96 kB
/** @ignore */ /** */ import { Curry } from '../../Curry'; import { Function } from '../../Function'; /** *@hidden */ export declare type ComposeMultiSync = { <R0, P extends any[]>(...fns: [ Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R0>; <R0, R1, P extends any[]>(...fns: [ Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R1>; <R0, R1, R2, P extends any[]>(...fns: [ Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R2>; <R0, R1, R2, R3, P extends any[]>(...fns: [ Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R3>; <R0, R1, R2, R3, R4, P extends any[]>(...fns: [ Function<[R3], R4> | Curry<Function<[R3], R4>>, Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R4>; <R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [ Function<[R4], R5> | Curry<Function<[R4], R5>>, Function<[R3], R4> | Curry<Function<[R3], R4>>, Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R5>; <R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [ Function<[R5], R6> | Curry<Function<[R5], R6>>, Function<[R4], R5> | Curry<Function<[R4], R5>>, Function<[R3], R4> | Curry<Function<[R3], R4>>, Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R6>; <R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [ Function<[R6], R7> | Curry<Function<[R6], R7>>, Function<[R5], R6> | Curry<Function<[R5], R6>>, Function<[R4], R5> | Curry<Function<[R4], R5>>, Function<[R3], R4> | Curry<Function<[R3], R4>>, Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R7>; <R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [ Function<[R7], R8> | Curry<Function<[R7], R8>>, Function<[R6], R7> | Curry<Function<[R6], R7>>, Function<[R5], R6> | Curry<Function<[R5], R6>>, Function<[R4], R5> | Curry<Function<[R4], R5>>, Function<[R3], R4> | Curry<Function<[R3], R4>>, Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R8>; <R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [ Function<[R8], R9> | Curry<Function<[R8], R9>>, Function<[R7], R8> | Curry<Function<[R7], R8>>, Function<[R6], R7> | Curry<Function<[R6], R7>>, Function<[R5], R6> | Curry<Function<[R5], R6>>, Function<[R4], R5> | Curry<Function<[R4], R5>>, Function<[R3], R4> | Curry<Function<[R3], R4>>, Function<[R2], R3> | Curry<Function<[R2], R3>>, Function<[R1], R2> | Curry<Function<[R1], R2>>, Function<[R0], R1> | Curry<Function<[R0], R1>>, Function<P, R0> | Curry<Function<P, R0>> ]): Function<P, R9>; };