mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
chore(async-utils): indent
This commit is contained in:
parent
477750650e
commit
4c5e98b338
6
packages/core/utils/lib/async.d.ts
vendored
6
packages/core/utils/lib/async.d.ts
vendored
@ -8,9 +8,9 @@ export type MapAsync<T = any, R = any> = CurriedFunction3<
|
||||
>;
|
||||
|
||||
export type ForEachAsync<T = any, R = any> = (
|
||||
array: T[],
|
||||
func: (element: T, index: number) => R | Promise<R>,
|
||||
options?: { concurrency?: number }
|
||||
array: T[],
|
||||
func: (element: T, index: number) => R | Promise<R>,
|
||||
options?: { concurrency?: number }
|
||||
) => Promise<R[]>;
|
||||
|
||||
export type ReduceAsync<T = any, V = T, R = V> = CurriedFunction3<
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user