Skip to content

Commit

Permalink
fix(typings): fix namespace typed-events inheritence (#108)
Browse files Browse the repository at this point in the history
Related: #107
  • Loading branch information
tada5hi authored and darrachequesne committed Jan 4, 2022
1 parent b0eed93 commit 53c73e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Emitter<EmitEvents extends EventsMap = DefaultEventsMap> {
* @param nsp - namespace
* @public
*/
public of(nsp: string): Emitter {
public of(nsp: string): Emitter<EmitEvents> {
return new Emitter(
this.redisClient,
this.opts,
Expand Down

0 comments on commit 53c73e1

Please sign in to comment.