mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-08 11:45:58 +00:00
9 lines
292 B
TypeScript
9 lines
292 B
TypeScript
/**
|
|
* Copyright (c) 2017, Daniel Imms (MIT License).
|
|
* Copyright (c) 2018, Microsoft Corporation (MIT License).
|
|
*/
|
|
|
|
export function assign(target: any, ...sources: any[]): any {
|
|
sources.forEach(source => Object.keys(source).forEach(key => target[key] = source[key]));
|
|
return target;
|
|
}
|