Skip to content

Commit

Permalink
add support for empty event map
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Mar 31, 2020
1 parent c561f67 commit 7e93c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ declare class EventEmitter<
EventTypes extends
| string
| symbol
| {}
| { [K in keyof EventTypes]: any[] | ((...args: any[]) => void) } =
| string
| symbol,
Expand Down

0 comments on commit 7e93c87

Please sign in to comment.