npm.io
1.0.3 • Published 2 years ago

@types/shallow-equals

Licence
MIT
Version
1.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/shallow-equals

Summary

This package contains type definitions for shallow-equals (https://github.com/hughsk/shallow-equals).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallow-equals.

index.d.ts

export = shallow_equals;

declare function shallow_equals<A, B>(
    a?: A,
    b?: B,
    compare?: (objA: A, objB: B) => boolean,
): boolean;

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Ross Solomon.