Skip to content

Commit

Permalink
refactor: enhance types
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhr committed Jan 14, 2025
1 parent 25df49e commit cfbff35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/object_match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function defineProperty(target: object, key: PropertyKey, value: unknown) {
}

function filter(a: loose, b: loose): loose {
const seen = new WeakMap();
const seen = new WeakMap<object, object>();
return filterObject(a, b);

function filterObject(a: loose, b: loose): loose {
Expand Down

0 comments on commit cfbff35

Please sign in to comment.