1 | declare module 'shallow-equal' {
|
2 | type primitives =
|
3 | | string
|
4 | | number
|
5 | | boolean
|
6 | | bigint
|
7 | | undefined
|
8 | | symbol
|
9 | | null;
|
10 | export function shallowEqualArrays(arr1: primitives[], arr2: primitives[]): boolean;
|
11 |
|
12 | interface primitiveObject {
|
13 | [key: string]: primitives;
|
14 | }
|
15 | export function shallowEqualObjects(
|
16 | obj1: primitiveObject,
|
17 | obj2: primitiveObject
|
18 | ): boolean;
|
19 | }
|