mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
types(ChannelTypes): remove unknown from CHANNEL options (#6701)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -3101,8 +3101,8 @@ export type ApplicationCommandData =
|
||||
|
||||
export interface ApplicationCommandChannelOptionData extends BaseApplicationCommandOptionsData {
|
||||
type: CommandOptionChannelResolvableType;
|
||||
channelTypes?: (keyof typeof ChannelTypes | ChannelTypes)[];
|
||||
channel_types?: ChannelTypes[];
|
||||
channelTypes?: Exclude<keyof typeof ChannelTypes | ChannelTypes, 'UNKNOWN' | ChannelTypes.UNKNOWN>[];
|
||||
channel_types?: Exclude<ChannelTypes, ChannelTypes.UNKNOWN>[];
|
||||
}
|
||||
|
||||
export interface ApplicationCommandChannelOption extends BaseApplicationCommandOptionsData {
|
||||
|
||||
Reference in New Issue
Block a user