Skip to content

Commit 1fc9955

Browse files
committed
remove unused code
1 parent 8234a41 commit 1fc9955

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/vs/base/common/objects.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,6 @@ export function toObject<T,R>(arr: T[], keyMap: (T) => string, valueMap: (T) =>
151151
return arr.reduce((o, d) => assign(o, { [keyMap(d)]: valueMap(d) }), Object.create(null));
152152
}
153153

154-
/**
155-
* Returns a new object that has all values of {{obj}}
156-
* plus those from {{defaults}}.
157-
*/
158-
export function withDefaults<T>(obj: T, defaults: T): T {
159-
return mixin(clone(defaults), obj || {});
160-
}
161-
162154
export function equals(one: any, other: any): boolean {
163155
if (one === other) {
164156
return true;

0 commit comments

Comments
 (0)