mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-29 21:17:34 +00:00
11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
import shallowEqual = require('shallowequal');
|
|
|
|
const a = {}, b = {};
|
|
function compare(a: any, b: any, indexOrKey?: number | string) {
|
|
return false;
|
|
}
|
|
|
|
shallowEqual(a, b);
|
|
shallowEqual(a, b, compare);
|
|
shallowEqual(a, b, compare, {});
|