summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts
deleted file mode 100644
index bed9f5a..0000000
--- a/includes/external/matrix/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/// <reference types="node" />
-import { EventEmitter } from "events";
-import { ListenerMap, TypedEventEmitter } from "./models/typed-event-emitter";
-export declare class ReEmitter {
- private readonly target;
- constructor(target: EventEmitter);
- private reEmitters;
- reEmit(source: EventEmitter, eventNames: string[]): void;
- stopReEmitting(source: EventEmitter, eventNames: string[]): void;
-}
-export declare class TypedReEmitter<Events extends string, Arguments extends ListenerMap<Events>> extends ReEmitter {
- constructor(target: TypedEventEmitter<Events, Arguments>);
- reEmit<ReEmittedEvents extends string, T extends Events & ReEmittedEvents>(source: TypedEventEmitter<ReEmittedEvents, any>, eventNames: T[]): void;
- stopReEmitting<ReEmittedEvents extends string, T extends Events & ReEmittedEvents>(source: TypedEventEmitter<ReEmittedEvents, any>, eventNames: T[]): void;
-}
-//# sourceMappingURL=ReEmitter.d.ts.map \ No newline at end of file