Formatting
This commit is contained in:
@@ -125,6 +125,7 @@ export class EventEmitter<T extends EventMap> {
|
||||
// If no listener is provided, remove all listeners for the event type.
|
||||
if (!listener) {
|
||||
this.#listeners.delete(type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user