1import * as _ from 'lodash-es'23export const mergeConcatA = (...props: object[]) => _.mergeWith({}, ...props, (a : object, b : object) => {4 // like _.mergeWith but union's arrays5 if (_.isArray(a) && _.isArray(b)) {6 return _.union(a, b)7 }8})9