Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
balazskreith committed Oct 11, 2024
1 parent 94e59c8 commit efb13ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collections/HamokEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,11 @@ class HamokEmitterSubscriptions<EventMap extends HamokEmitterEventMap, M extends
return removedAtLeastFromOneEvent;
}

public getEventPeersMap<K extends keyof EventMap>(event: K): Map<string, Record<string, unknown> | null> | undefined {
public getEventPeersMap<K extends keyof EventMap>(event: K): Map<string, M | null> | undefined {
return this._map.get(event);
}

public entries(): IterableIterator<[keyof EventMap, Map<string, Record<string, unknown> | null>]> {
public entries(): IterableIterator<[keyof EventMap, Map<string, M | null>]> {
return this._map.entries();
}

Expand Down

0 comments on commit efb13ba

Please sign in to comment.