mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
11 lines
373 B
JavaScript
11 lines
373 B
JavaScript
"use strict";
|
|
/**
|
|
* Copyright (c) 2017, Daniel Imms (MIT License).
|
|
* Copyright (c) 2018, Microsoft Corporation (MIT License).
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.assign = assign;
|
|
function assign(target, ...sources) {
|
|
sources.forEach(source => Object.keys(source).forEach(key => target[key] = source[key]));
|
|
return target;
|
|
}
|