mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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, {});
|