Use generator

This commit is contained in:
Ross Solomon
2018-08-13 17:26:00 -07:00
parent 8f3a3fe440
commit 193bd151a1
+4 -4
View File
@@ -3,14 +3,14 @@
// Definitions by: Ross Solomon <https://github.com/rsolomon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function shallowEquals<A, B>(
export = shallow_equals;
declare function shallow_equals<A, B>(
a?: A,
b?: B,
compare?: (objA?: A, objB?: B) => boolean,
): boolean;
declare namespace shallowEquals {
declare namespace shallow_equals {
}
export = shallowEquals;