tiny-typed-emitter icon indicating copy to clipboard operation
tiny-typed-emitter copied to clipboard

Fully type-checked NodeJS EventEmitter

Results 4 tiny-typed-emitter issues
Sort by recently updated
recently updated
newest added

First, thanks for this helpful package @binier ! I used to manually declare `onX(…)` events to enforce typed events until I found it. One thing I miss is a plain...

Hi, thanks for the great library :+1: I have a question about the [subclasses with different events](https://github.com/binier/tiny-typed-emitter#compatible-subclasses-with-different-events) example that you provided in the readme: The example works when calling the...

In my use case I am extending a library which has some static event names and some are dynamic generated. So I would like to have some events typed but...

Add a constructor to be able to pass optional parameters to the EventEmitter constructor (f.e. `{ captureRejections: true }`) The argument could be typed too but then you need to...