File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,14 @@ export function replaceEqualDeep(a: unknown, b: unknown): any {
280
280
}
281
281
282
282
// either item is not an array or object
283
- if ( aItem === null || bItem === null || typeof aItem !== 'object' || typeof bItem !== 'object' ) {
284
- copy [ i ] = bItem
285
- continue
283
+ if (
284
+ aItem === null ||
285
+ bItem === null ||
286
+ typeof aItem !== 'object' ||
287
+ typeof bItem !== 'object'
288
+ ) {
289
+ copy [ i ] = bItem
290
+ continue
286
291
}
287
292
288
293
const v = replaceEqualDeep ( aItem , bItem )
@@ -322,7 +327,12 @@ export function replaceEqualDeep(a: unknown, b: unknown): any {
322
327
}
323
328
324
329
// either item is not an array or object
325
- if ( aItem === null || bItem === null || typeof aItem !== 'object' || typeof bItem !== 'object' ) {
330
+ if (
331
+ aItem === null ||
332
+ bItem === null ||
333
+ typeof aItem !== 'object' ||
334
+ typeof bItem !== 'object'
335
+ ) {
326
336
copy [ k ] = bItem
327
337
continue
328
338
}
You can’t perform that action at this time.
0 commit comments