mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 19:08:20 +00:00
feat(Collector): allow collectors to be consumed by for-await-of loops (#3269)
This commit is contained in:
Vendored
+1
@@ -363,6 +363,7 @@ declare module 'discord.js' {
|
||||
public handleCollect(...args: any[]): void;
|
||||
public handleDispose(...args: any[]): void;
|
||||
public stop(reason?: string): void;
|
||||
public [Symbol.asyncIterator](): AsyncIterableIterator<V>;
|
||||
public toJSON(): object;
|
||||
|
||||
protected listener: Function;
|
||||
|
||||
Reference in New Issue
Block a user