Skip to content

Commit

Permalink
fix(event emitter): extend the event origianl function arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Dec 11, 2020
1 parent 16f63e3 commit 30c6f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/event/eventEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class EventEmitter {
if (events && events.length > 0) {
// The log for development
events.forEach((callEvent) => {
callEvent(args);
callEvent(...args);
});
}
}
Expand Down

0 comments on commit 30c6f51

Please sign in to comment.