1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | function 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 | }
|
18 | exports.assign = assign;
|
19 | //# sourceMappingURL=assign.js.map |
\ | No newline at end of file |