2 * Copyright (c) 2017, Daniel Imms (MIT License).
3 * Copyright (c) 2018, Microsoft Corporation (MIT License).
6 export function assign(target: any, ...sources: any[]): any {
7 sources.forEach(source => Object.keys(source).forEach(key => target[key] = source[key]));