Skip to content

Commit

Permalink
typings(ApplicationCommandData): make type field optional (#6405)
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni authored Aug 12, 2021
1 parent 14aea12 commit dcc556c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2936,7 +2936,7 @@ export interface MessageApplicationCommandData extends BaseApplicationCommandDat

export interface ChatInputApplicationCommandData extends BaseApplicationCommandData {
description: string;
type: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
type?: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
options?: ApplicationCommandOptionData[];
}

Expand Down

0 comments on commit dcc556c

Please sign in to comment.