diff --git a/src/merging.ts b/src/merging.ts index f5b4fc0..39e695d 100644 --- a/src/merging.ts +++ b/src/merging.ts @@ -94,9 +94,9 @@ export namespace MergingReceiver { } export declare interface MergingReceiver { - on( + on( type: K, - listener: (event: Receiver.EventMap[K]) => void, + listener: (event: MergingReceiver.EventMap[K]) => void, ): this; }