Skip to content

Commit 48cbcf2

Browse files
committedAug 21, 2024··
fix(kuzzleeventemitter): add missing generics parameters
1 parent b1022b0 commit 48cbcf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/kuzzle/event/KuzzleEventEmitter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ class KuzzleEventEmitter extends EventEmitter {
8080
/**
8181
* Map of plugin pipe handler functions by event
8282
*/
83-
this.pluginPipes = new Map();
83+
this.pluginPipes = new Map<string, PipeEventHandler[]>();
8484

8585
/**
8686
* Map of plugin pipe definitions by pipeId
8787
*/
88-
this.pluginPipeDefinitions = new Map();
88+
this.pluginPipeDefinitions = new Map<string, PluginPipeDefinition>();
8989

9090
this.corePipes = new Map<string, PipeEventHandler[]>();
9191
this.coreAnswerers = new Map<string, AskEventHandler>();

0 commit comments

Comments
 (0)
Please sign in to comment.