fix: in/de-crement max listener for client events (#4168)

This commit is contained in:
SpaceEEC
2020-05-07 23:39:23 +02:00
committed by GitHub
parent 766b91d306
commit 407bc77d34
6 changed files with 40 additions and 9 deletions

2
typings/index.d.ts vendored
View File

@@ -96,6 +96,8 @@ declare module 'discord.js' {
private _immediates: Set<NodeJS.Immediate>;
private readonly api: object;
private rest: object;
private decrementMaxListeners(): void;
private incrementMaxListeners(): void;
public options: ClientOptions;
public clearInterval(interval: NodeJS.Timer): void;