Skip to main content
Version: 22.5.0

CommonEventEmitter.removeAllListeners() method

Signature:

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

Parameters

ParameterTypeDescription
eventkeyof Events(Optional)

Returns:

this