@nhtio/tiny-typed-emitter
Classes
| Class | Description |
|---|---|
| TypedEventEmitter | A strongly-typed Tiny Event Emitter. |
Interfaces
| Interface | Description |
|---|---|
| EventListenerMap | Describes the shape of the internal event listener map. |
Type Aliases
| Type Alias | Description |
|---|---|
| AnyRest | The shape of the arguments tuple for when the default event map is used. This is used to allow for any number of arguments to be passed to the event listeners. |
| Args | The shape of the arguments tuple for a specific event. |
| DefaultEventMap | The shape of the default event map. |
| EventMap | The default shape of the event map. |
| Key | A utility type used to extract the event key from the event map. |
| Keys | A utility type used to extract the keys from the event map. |
| Listener | A utility type used to extract the shape of the listener function from the event map. |
Variables
| Variable | Description |
|---|---|
| version | The current version of the package. |