Skip to content

Commit

Permalink
fix: error by adding missing handler argument to Proxy (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubugeeei committed Jan 8, 2024
1 parent 54759cd commit db5e45d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Proxy is a very interesting object.
You can use it by passing an object as an argument and using `new` like this:

```ts
const o = new Proxy({ value: 1 })
const o = new Proxy({ value: 1 }, {})
console.log(o.value) // 1
```

Expand Down

0 comments on commit db5e45d

Please sign in to comment.