Skip to main content
Version: 22.4.1

CommonEventEmitter.removeAllListeners() method

Signature:

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

Parameters

ParameterTypeDescription
eventkeyof Events(Optional)

Returns:

this