---
sidebar_label: CommonEventEmitter.removeAllListeners
---

# CommonEventEmitter.removeAllListeners() method

#### Signature:

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

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

event

</td><td>

keyof Events

</td><td>

_(Optional)_

</td></tr>
</tbody></table>
**Returns:**

this