Skip to main content
Version: 21.5.1

CommonEventEmitter.off() method

Signature:

interface CommonEventEmitter {
off<Key extends keyof Events>(
type: Key,
handler?: Handler<Events[Key]>
): this;
}

Parameters

ParameterTypeDescription
typeKey
handlerHandler<Events[Key]>(Optional)

Returns:

this