fix(BaseManager): properly type valueOf (#4594)

This commit is contained in:
Souji
2020-08-11 22:59:44 +02:00
committed by GitHub
parent c5b6c4da43
commit b4d651055a

1
typings/index.d.ts vendored
View File

@@ -1856,6 +1856,7 @@ declare module 'discord.js' {
public add(data: any, cache?: boolean, { id, extras }?: { id: K; extras: any[] }): Holds;
public resolve(resolvable: R): Holds | null;
public resolveID(resolvable: R): K | null;
public valueOf(): Collection<K, Holds>;
}
export class GuildChannelManager extends BaseManager<Snowflake, GuildChannel, GuildChannelResolvable> {