chore(async-map): use lodash/map import
This commit is contained in:
parent
56114a7d18
commit
e3c6c1c1ca
@ -11,7 +11,7 @@
|
|||||||
// (V1, K) => MaybePromise<V2>
|
// (V1, K) => MaybePromise<V2>
|
||||||
// ): Promise<V2[]>
|
// ): Promise<V2[]>
|
||||||
|
|
||||||
import { map } from 'lodash'
|
import map from 'lodash/map'
|
||||||
|
|
||||||
// Similar to map() + Promise.all() but wait for all promises to
|
// Similar to map() + Promise.all() but wait for all promises to
|
||||||
// settle before rejecting (with the first error)
|
// settle before rejecting (with the first error)
|
||||||
|
Loading…
Reference in New Issue
Block a user