UNPKG

550 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3function assign(target) {
4 var sources = [];
5 for (var _i = 1; _i < arguments.length; _i++) {
6 sources[_i - 1] = arguments[_i];
7 }
8 sources.forEach(function (source) {
9 if (typeof source === 'undefined' || source === null) {
10 return;
11 }
12 Object.keys(source).forEach(function (key) {
13 target[key] = source[key];
14 });
15 });
16 return target;
17}
18exports.assign = assign;
19//# sourceMappingURL=assign.js.map
\No newline at end of file