Skip to content

Commit

Permalink
types(ChannelTypes): remove unknown from CHANNEL options (#6701)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Oct 3, 2021
1 parent b76bb8a commit 8b4456e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit 8b4456e

Please sign in to comment.