1 | declare function shallowEqual<TCtx = any>(
|
2 | objA: any,
|
3 | objB: any,
|
4 | customizer?: shallowEqual.Customizer<TCtx>,
|
5 | compareContext?: TCtx,
|
6 | ): boolean;
|
7 |
|
8 | declare namespace shallowEqual {
|
9 | type Customizer<T = any> = (
|
10 | this: T,
|
11 | objA: any,
|
12 | objB: any,
|
13 | indexOrKey?: number | string,
|
14 | // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
15 | ) => boolean | void;
|
16 | }
|
17 |
|
18 | export = shallowEqual;
|