mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
docs(GuildChannelManager): fix type options in description (#5440)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -1971,10 +1971,12 @@ declare module 'discord.js' {
|
||||
public create(name: string, options: GuildCreateChannelOptions & { type: 'voice' }): Promise<VoiceChannel>;
|
||||
public create(name: string, options: GuildCreateChannelOptions & { type: 'category' }): Promise<CategoryChannel>;
|
||||
public create(name: string, options?: GuildCreateChannelOptions & { type?: 'text' }): Promise<TextChannel>;
|
||||
public create(name: string, options: GuildCreateChannelOptions & { type: 'news' }): Promise<NewsChannel>;
|
||||
public create(name: string, options: GuildCreateChannelOptions & { type: 'store' }): Promise<StoreChannel>;
|
||||
public create(
|
||||
name: string,
|
||||
options: GuildCreateChannelOptions,
|
||||
): Promise<TextChannel | VoiceChannel | CategoryChannel>;
|
||||
): Promise<TextChannel | VoiceChannel | CategoryChannel | NewsChannel | StoreChannel>;
|
||||
}
|
||||
|
||||
export class GuildEmojiManager extends BaseGuildEmojiManager {
|
||||
|
||||
Reference in New Issue
Block a user