Skip to content

Commit

Permalink
use correct EventMap interface in MergingReceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
mutec committed Oct 31, 2024
1 parent c8d3d40 commit 698679f
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 698679f

Please sign in to comment.