Skip to main content
Version: 22.6.5

CommonEventEmitter.removeAllListeners() method

Signature:

interface CommonEventEmitter {
removeAllListeners(event?: keyof Events): this;
}

Parameters

Parameter

Type

Description

event

keyof Events

(Optional)

Returns:

this