remove todos

This commit is contained in:
Joao Moreno
2017-08-23 16:06:06 +02:00
parent 89ac4c9124
commit df2143f533
3 changed files with 0 additions and 5 deletions

View File

@@ -83,7 +83,6 @@ export function once(fn: (...args: any[]) => any): (...args: any[]) => any {
};
}
// TODO@Joao: replace with Object.assign
export function assign<T>(destination: T, ...sources: any[]): T {
for (const source of sources) {
Object.keys(source).forEach(key => destination[key] = source[key]);