2023-02-06 15:39:47 +01:00

7 lines
168 B
TypeScript

export type MapAsync<T = any, R = any> = lodash.CurriedFunction3<
T[],
(element: T, index: number) => R | Promise<R>,
{ concurrency?: number },
Promise<R[]>
>;