Skip to content

Commit

Permalink
use correct EventMap interface in MergingReceiver (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutec authored Nov 2, 2024
1 parent c8d3d40 commit 80e0a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/merging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ export namespace MergingReceiver {
}

export declare interface MergingReceiver {
on<K extends keyof Receiver.EventMap>(
on<K extends keyof MergingReceiver.EventMap>(
type: K,
listener: (event: Receiver.EventMap[K]) => void,
listener: (event: MergingReceiver.EventMap[K]) => void,
): this;
}

Expand Down

0 comments on commit 80e0a08

Please sign in to comment.