// https://tc39.github.io/ecma262/#sec-object.assign
export function __TS__ObjectAssign(this: void, target: T, ...sources: T[]): T {
for (const i of $range(1, sources.length)) {
const source = sources[i - 1];
for (const key in source) {
target[key] = source[key];
}
}
return target;
}