From 80e0a08cc0db9d1a21a99ab0a2b88cc2471f9b11 Mon Sep 17 00:00:00 2001 From: MysteryCode Date: Sat, 2 Nov 2024 04:27:02 +0100 Subject: [PATCH] use correct EventMap interface in MergingReceiver (#63) --- src/merging.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }