Skip to content

Commit 5969861

Browse files
committed
Remove an any cast that now has correct typing
1 parent a652dce commit 5969861

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/wheatley.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ export class Wheatley {
149149

150150
this.log_limiter = new LogLimiter(this);
151151

152-
// temporary until fixed in djs or @types/node
153-
(this.client as any).setMaxListeners(35);
152+
this.client.setMaxListeners(35);
154153

155154
this.client.on("error", error => {
156155
M.error(error);

0 commit comments

Comments
 (0)