Skip to content

Commit 53c73e1

Browse files
tada5hidarrachequesne
authored andcommitted
fix(typings): fix namespace typed-events inheritence (#108)
Related: #107
1 parent b0eed93 commit 53c73e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class Emitter<EmitEvents extends EventsMap = DefaultEventsMap> {
7373
* @param nsp - namespace
7474
* @public
7575
*/
76-
public of(nsp: string): Emitter {
76+
public of(nsp: string): Emitter<EmitEvents> {
7777
return new Emitter(
7878
this.redisClient,
7979
this.opts,

0 commit comments

Comments
 (0)