UNPKG

tsoid

Version:

Typed functional library to deal with async operations.

4 lines (3 loc) 239 B
export declare type FunctionPromiseA1<A, B> = (arg: A) => Promise<B>; export declare type FunctionPromiseA2<A, B, C> = (arg0: A, arg1: B) => Promise<C>; export declare type FunctionPromisePromiseA1<A, B> = (arg: Promise<A>) => Promise<B>;