提交 1fc99552 编写于 作者: J Johannes Rieken

remove unused code

上级 8234a41a
......@@ -151,14 +151,6 @@ export function toObject<T,R>(arr: T[], keyMap: (T) => string, valueMap: (T) =>
return arr.reduce((o, d) => assign(o, { [keyMap(d)]: valueMap(d) }), Object.create(null));
}
/**
* Returns a new object that has all values of {{obj}}
* plus those from {{defaults}}.
*/
export function withDefaults<T>(obj: T, defaults: T): T {
return mixin(clone(defaults), obj || {});
}
export function equals(one: any, other: any): boolean {
if (one === other) {
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册