diff --git a/extensions/git/src/util.ts b/extensions/git/src/util.ts index 2c6a1eaf206..e4940255602 100644 --- a/extensions/git/src/util.ts +++ b/extensions/git/src/util.ts @@ -59,6 +59,7 @@ export function eventToPromise(event: Event): Promise { return new Promise(c => once(event)(c)); } +// TODO@Joao: replace with Object.assign export function assign(destination: T, ...sources: any[]): T { for (const source of sources) { Object.keys(source).forEach(key => destination[key] = source[key]);