Skip to content

Commit

Permalink
Remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisprudlo committed Nov 1, 2024
1 parent 9e57176 commit 05610ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channel/pusher-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class PusherChannel extends Channel {
listen(event: string, callback: Function): this {
this.on(this.eventFormatter.format(event), callback);

return this as unknown as this;
return this;
}

/**
Expand Down

0 comments on commit 05610ed

Please sign in to comment.