Skip to content

Commit

Permalink
fix: remove default value for descriptor param
Browse files Browse the repository at this point in the history
  • Loading branch information
drusco committed Mar 11, 2024
1 parent 68b4d14 commit dd58444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/handlers/defineProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type descriptor = {
const defineProperty = (
mock: Nexo.Mock,
key: Nexo.objectKey,
descriptor: descriptor = {},
descriptor: descriptor,
): boolean => {
const proxy = map.tracables.get(mock);
const data = map.proxies.get(proxy);
Expand Down

0 comments on commit dd58444

Please sign in to comment.