Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
fix: add missing overload for pipe with 10 args
Browse files Browse the repository at this point in the history
  • Loading branch information
tmueller authored and baetheus committed Oct 26, 2020
1 parent c174b93 commit aed36c1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions fns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ export type PipeFn = {
gh: (g: G) => H,
hi: (h: H) => I,
): I;
<A, B, C, D, E, F, G, H, I, J>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
): J;
<A, B, C, D, E, F, G, H, I, J, K>(
a: A,
ab: (a: A) => B,
Expand Down

0 comments on commit aed36c1

Please sign in to comment.