export class Emitter {
    et = new EventTarget();
    on(type, listener, options) {
        this.et.addEventListener(type, listener, options);
    }
    emit(event) {
        return this.et.dispatchEvent(event);
    }
    off(type, listener, options) {
        this.et.removeEventListener(type, listener, options);
    }
}
//# sourceMappingURL=Emitter.js.map