Typescript interface with emitter api subset (`on`, `once`, `off`) for objects with encapsulated emitter