From 343e7036ef87b6d7e9c8e03ad71dd245b396be8a Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 27 Jan 2017 09:31:06 +0100 Subject: [PATCH] add todo --- extensions/git/src/util.ts | 1 + 1 file changed, 1 insertion(+) 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]);