UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

3 lines (2 loc) 186 B
export declare function mapP<A, B>(fn: (value: A) => Promise<B>, coll: A[]): Promise<B[]>; export declare function mapP<A, B>(fn: (value: A) => Promise<B>): (coll: A[]) => Promise<B[]>;