Typescript definitions are incomplete
EventStoreNodeConnection inherits from EventEmitter but the removeListener methods are missing at the declaration. Would be nice to get them.
I don't use typescript much, this is why the definitions are not well tested and incomplete. It would help a lot if someone could provide a PR for this.
I'm not so deep inside the node-eventstore-client because that I can't recheck the whole declarations so easily. But I added my requested EventEmitter support to EventStoreNodeConnection at PR #66
But that change needs a minim version 2.8 of the TypeScript compile now. If that is not ok, the event checking must be removed (that only the right event can be used and that the handlers uses the right param type)