- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
14 lines
474 B
JavaScript
14 lines
474 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.assignTwoLevelsDeep = void 0;
|
|
function assignTwoLevelsDeep(_dest, ...args) {
|
|
const dest = _dest;
|
|
for (const arg of args) {
|
|
for (const [key, value] of Object.entries(arg !== null && arg !== void 0 ? arg : {})) {
|
|
dest[key] = Object.assign(Object.assign({}, dest[key]), value);
|
|
}
|
|
}
|
|
return dest;
|
|
}
|
|
exports.assignTwoLevelsDeep = assignTwoLevelsDeep;
|