import { mergeWith } from 'lodash' ; import { ArianeeCertificatei18nV3 } from '../../../models/jsonSchema/certificates/ArianeeProducti18n' ; param { Array < any > } override returns { { } } export const certificateParentMerger = ( override ) : ArianeeCertificatei18nV3 => { const content = { } ; override . forEach ( d => { mergeWith ( content , d ) ; } ) ; return content as ArianeeCertificatei18nV3 ; } ;