File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -280,9 +280,14 @@ export function replaceEqualDeep(a: unknown, b: unknown): any {
280280 }
281281
282282 // 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
286291 }
287292
288293 const v = replaceEqualDeep ( aItem , bItem )
@@ -322,7 +327,12 @@ export function replaceEqualDeep(a: unknown, b: unknown): any {
322327 }
323328
324329 // 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+ ) {
326336 copy [ k ] = bItem
327337 continue
328338 }
You can’t perform that action at this time.
0 commit comments