tsoid
Version:
Typed functional library to deal with async operations.
5 lines (4 loc) • 404 B
TypeScript
import { FunctionA2, FunctionA3, FunctionA4 } from '../types';
export default function curry<A, B, C>(fn: FunctionA2<A, B, C>): (arg0: A) => (arg1: B) => C;
export declare function curry3<A, B, C, D>(fn: FunctionA3<A, B, C, D>): (arg0: A) => (arg1: B) => (arg2: C) => D;
export declare function curry4<A, B, C, D, E>(fn: FunctionA4<A, B, C, D, E>): (arg0: A) => (arg1: B) => (arg2: C) => (arg3: D) => E;