We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0eed93 commit 53c73e1Copy full SHA for 53c73e1
lib/index.ts
@@ -73,7 +73,7 @@ export class Emitter<EmitEvents extends EventsMap = DefaultEventsMap> {
73
* @param nsp - namespace
74
* @public
75
*/
76
- public of(nsp: string): Emitter {
+ public of(nsp: string): Emitter<EmitEvents> {
77
return new Emitter(
78
this.redisClient,
79
this.opts,
0 commit comments