(f: (b: B) => (a: A) => C)
| 23 | } |
| 24 | |
| 25 | export function uncurry<A, B, C>(f: (b: B) => (a: A) => C) { |
| 26 | return (a: A, b: B) => f(b)(a) |
| 27 | } |
| 28 | |
| 29 | // It's better to have these expanded, so that on the call site you understand the functions better. |
| 30 | // type OptMagix<A, B, C> = ((b?: B) => (a: A) => C) & { |
no test coverage detected
searching dependent graphs…