DefinitelyTyped/types/deep-equal/index.d.ts

16 lines
443 B
TypeScript
Raw Permalink Normal View History

2017-03-07 11:11:45 +00:00
// Type definitions for deep-equal 1.0
2016-03-03 12:42:33 +00:00
// Project: https://github.com/substack/node-deep-equal
2017-08-17 21:53:41 +00:00
// Definitions by: remojansen <https://github.com/remojansen>, Jay Anslow <https://github.com/janslow>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-03 12:42:33 +00:00
interface DeepEqualOptions {
strict: boolean;
}
2016-03-03 12:42:33 +00:00
2017-03-07 11:11:45 +00:00
declare function deepEqual(
actual: any,
expected: any,
2017-03-07 11:11:45 +00:00
opts?: DeepEqualOptions): boolean;
export = deepEqual;