Skip to content

Commit

Permalink
return proxy in jsdoc __makeEvents__
Browse files Browse the repository at this point in the history
  • Loading branch information
adlrwbr committed Jan 15, 2025
1 parent 5cd56fe commit c6d1285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lang/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function __makeEvents__(mappings) {
get: (_, event) => {
const name = mappings[event];

new Proxy(() => {}, {
return new Proxy(() => {}, {
apply: (_, __, [window]) => ({
listen: (arg) => window.listen(name, arg),
once: (arg) => window.once(name, arg),
Expand Down

0 comments on commit c6d1285

Please sign in to comment.