in src/httpPostMessage.ts [115:132]
private assign(target: any, ...sources: any[]): any {
if (target === undefined || target === null) {
throw new TypeError('Cannot convert undefined or null to object');
}
const output = Object(target);
sources.forEach(source => {
if (source !== undefined && source !== null) {
for (var nextKey in source) { /* tslint:disable-line */
if (Object.prototype.hasOwnProperty.call(source, nextKey)) {
output[nextKey] = source[nextKey];
}
}
}
});
return output;
}