Skip to content

Commit

Permalink
fix(is(isEqual)): 修复filter类型报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
renzp94 committed Aug 5, 2024
1 parent 2a21c1c commit 48fb39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/is/isEqual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const isEqual = <T, U>(
keys.every((key) => {
const tv = isMap(target) ? target.get(key) : (target as any)[key]
const vv = isMap(value) ? value.get(key) : (value as any)[key]
return isEqual(tv, vv, filter)
return isEqual(tv, vv, filter as any)
})
)
}
Expand Down

0 comments on commit 48fb39c

Please sign in to comment.