Installation
npm install --save @types/shallowequal
Summary
This package contains type definitions for shallowequal (https://github.com/dashed/shallowequal).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallowequal.
declare function shallowEqual<TCtx = any>(
objA: any,
objB: any,
customizer?: shallowEqual.Customizer<TCtx>,
compareContext?: TCtx,
): boolean;
declare namespace shallowEqual {
type Customizer<T = any> = (
this: T,
objA: any,
objB: any,
indexOrKey?: number | string,
) => boolean | void;
}
export = shallowEqual;
Additional Details
- Last updated: Wed, 22 Nov 2023 00:24:48 GMT
- Dependencies: none
Credits
These definitions were written by Sean Kelley, BendingBender, and Arnd Issler.