10 lines
242 B
TypeScript
10 lines
242 B
TypeScript
|
/**
|
||
|
* Deeply compares two object literals.
|
||
|
* @param obj1 object 1
|
||
|
* @param obj2 object 2
|
||
|
* @param shallow shallow compare
|
||
|
* @returns
|
||
|
*/
|
||
|
declare function isEqual(obj1: any, obj2: any, shallow?: boolean): boolean;
|
||
|
export default isEqual;
|