chore(async-map): use lodash/map import

This commit is contained in:
Julien Fontanet 2018-09-18 11:57:11 +02:00
parent 56114a7d18
commit e3c6c1c1ca

View File

@ -11,7 +11,7 @@
// (V1, K) => MaybePromise<V2>
// ): Promise<V2[]>
import { map } from 'lodash'
import map from 'lodash/map'
// Similar to map() + Promise.all() but wait for all promises to
// settle before rejecting (with the first error)