An open API service indexing awesome lists of open source software.

https://github.com/fr0stbyter/typed-event-emitter


https://github.com/fr0stbyter/typed-event-emitter

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

## Usage

```TypeScript
import TypedEventEmitter from "typed-event-emitter";

class MyClass extends TypedEventEmitter<{ init: never; ready: boolean }> {
constructor() {
super();
this.emit("init");
this.emit("ready", true);
}
}
```