Skip to content

Commit

Permalink
Remove eventNames from TypedEventEmitter (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Apr 13, 2023
1 parent a0bcb57 commit f400a7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/models/typed-event-emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ export class TypedEventEmitter<
return super.emit(event, ...args);
}

public eventNames(): (Events | EventEmitterEvents)[] {
return super.eventNames() as Array<Events | EventEmitterEvents>;
}

public listenerCount(event: Events | EventEmitterEvents): number {
return super.listenerCount(event);
}
Expand Down

0 comments on commit f400a7b

Please sign in to comment.