Remove eventNames from TypedEventEmitter (#3276)
This commit is contained in:
committed by
GitHub
parent
a0bcb5777f
commit
f400a7b1b2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user