Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
✔️ plugin-sequence: increase TypeScript overloads count
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir Belevich committed Apr 8, 2019
1 parent 5b69da7 commit 9028cd1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/plugin-sequence/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export type TExtend8 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends
export type TExtend9 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject> = TExtend<TExtend8<T1, T2, T3, T4, T5, T6, T7, T8>, T9>
export type TExtend10 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject> = TExtend<TExtend9<T1, T2, T3, T4, T5, T6, T7, T8, T9>, T10>
export type TExtend11 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject, T11 extends MaybeObject> = TExtend<TExtend10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, T11>
export type TExtend12 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject, T11 extends MaybeObject, T12 extends MaybeObject> = TExtend<TExtend11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, T12>
export type TExtend13 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject, T11 extends MaybeObject, T12 extends MaybeObject, T13 extends MaybeObject> = TExtend<TExtend12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, T13>
export type TExtend14 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject, T11 extends MaybeObject, T12 extends MaybeObject, T13 extends MaybeObject, T14 extends MaybeObject> = TExtend<TExtend13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, T14>
export type TExtend15 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject, T11 extends MaybeObject, T12 extends MaybeObject, T13 extends MaybeObject, T14 extends MaybeObject, T15 extends MaybeObject> = TExtend<TExtend14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, T15>
export type TExtend16 <T1 extends MaybeObject, T2 extends MaybeObject, T3 extends MaybeObject, T4 extends MaybeObject, T5 extends MaybeObject, T6 extends MaybeObject, T7 extends MaybeObject, T8 extends MaybeObject, T9 extends MaybeObject, T10 extends MaybeObject, T11 extends MaybeObject, T12 extends MaybeObject, T13 extends MaybeObject, T14 extends MaybeObject, T15 extends MaybeObject, T16 extends MaybeObject> = TExtend<TExtend15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, T16>

function sequence<P0, R>(p0: StartPlugin<P0, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend<P0, R>>
function sequence<P0, P1, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend3<P0, P1, R>>
Expand All @@ -25,6 +30,11 @@ function sequence<P0, P1, P2, P3, P4, P5, P6, R>(p0: StartPlugin<P0, P1>, p1: St
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, P9>, p9: StartPlugin<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend11<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, P9>, p9: StartPlugin<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>, P10>, p10: StartPlugin<TExtend11<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend12<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, P9>, p9: StartPlugin<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>, P10>, p10: StartPlugin<TExtend11<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>, P11>, p11: StartPlugin<TExtend12<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend13<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, P9>, p9: StartPlugin<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>, P10>, p10: StartPlugin<TExtend11<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>, P11>, p11: StartPlugin<TExtend12<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11>, P12>, p12: StartPlugin<TExtend13<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend14<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, P9>, p9: StartPlugin<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>, P10>, p10: StartPlugin<TExtend11<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>, P11>, p11: StartPlugin<TExtend12<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11>, P12>, p12: StartPlugin<TExtend13<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12>, P13>, p13: StartPlugin<TExtend14<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend15<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, R>>
function sequence<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, R>(p0: StartPlugin<P0, P1>, p1: StartPlugin<TExtend<P0, P1>, P2>, p2: StartPlugin<TExtend3<P0, P1, P2>, P3>, p3: StartPlugin<TExtend4<P0, P1, P2, P3>, P4>, p4: StartPlugin<TExtend5<P0, P1, P2, P3, P4>, P5>, p5: StartPlugin<TExtend6<P0, P1, P2, P3, P4, P5>, P6>, p6: StartPlugin<TExtend7<P0, P1, P2, P3, P4, P5, P6>, P7>, p7: StartPlugin<TExtend8<P0, P1, P2, P3, P4, P5, P6, P7>, P8>, p8: StartPlugin<TExtend9<P0, P1, P2, P3, P4, P5, P6, P7, P8>, P9>, p9: StartPlugin<TExtend10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>, P10>, p10: StartPlugin<TExtend11<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>, P11>, p11: StartPlugin<TExtend12<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11>, P12>, p12: StartPlugin<TExtend13<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12>, P13>, p13: StartPlugin<TExtend14<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13>, P14>, p14: StartPlugin<TExtend15<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14>, R>): (reporter: StartReporter) => (props?: P0) => Promise<TExtend16<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, R>>

function sequence (...plugins: StartPlugin<any, any>[]) {
return plugin('sequence', ({ reporter }) => (props) =>
Expand Down

0 comments on commit 9028cd1

Please sign in to comment.