mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(BaseManager): properly type valueOf (#4594)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user