Skip to content

Commit 343e703

Browse files
committed
add todo
1 parent 6fba7f3 commit 343e703

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extensions/git/src/util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export function eventToPromise<T>(event: Event<T>): Promise<T> {
5959
return new Promise(c => once(event)(c));
6060
}
6161

62+
// TODO@Joao: replace with Object.assign
6263
export function assign<T>(destination: T, ...sources: any[]): T {
6364
for (const source of sources) {
6465
Object.keys(source).forEach(key => destination[key] = source[key]);

0 commit comments

Comments
 (0)