denosaurs / event

📆 Strictly typed event emitter with asynciterator support
https://deno.land/x/event
MIT License
42 stars 5 forks source link

switch properties visibility to private #6

Open shevernitskiy opened 1 year ago

shevernitskiy commented 1 year ago

The motivation for these changes is using emitter as class mixin.

For example, if we use lib ts-mixer for mixing various class traits, it can't copy # properties. EventEmitter often used as such kind of trait. So, it would be nice to use it directly as dependency without any changes.

eliassjogreen commented 1 year ago

Sorry for the late reply, any opinion on this @crowlKats?