mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix(BaseManager): properly type valueOf (#4594)
This commit is contained in:
parent
c5b6c4da43
commit
b4d651055a
1 changed files with 1 additions and 0 deletions
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> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue