mirror of
https://github.com/danbulant/discord.js
synced 2026-05-31 21:31:29 +00:00
typings(GuildChannelStore): add CategoryChannel as possible return value (#3326)
This commit is contained in:
parent
ddcc6cfec9
commit
e87e4a6f0e
1 changed files with 1 additions and 1 deletions
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
|
|
@ -1440,7 +1440,7 @@ declare module 'discord.js' {
|
|||
|
||||
export class GuildChannelStore extends DataStore<Snowflake, GuildChannel, typeof GuildChannel, GuildChannelResolvable> {
|
||||
constructor(guild: Guild, iterable?: Iterable<any>);
|
||||
public create(name: string, options?: GuildCreateChannelOptions): Promise<TextChannel | VoiceChannel>;
|
||||
public create(name: string, options?: GuildCreateChannelOptions): Promise<TextChannel | VoiceChannel | CategoryChannel>;
|
||||
}
|
||||
|
||||
// Hacky workaround because changing the signature of an overriden method errors
|
||||
|
|
|
|||
Loading…
Reference in a new issue