mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
typings(ApplicationCommandData): make type field optional (#6405)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2936,7 +2936,7 @@ export interface MessageApplicationCommandData extends BaseApplicationCommandDat
|
|||||||
|
|
||||||
export interface ChatInputApplicationCommandData extends BaseApplicationCommandData {
|
export interface ChatInputApplicationCommandData extends BaseApplicationCommandData {
|
||||||
description: string;
|
description: string;
|
||||||
type: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
|
type?: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
|
||||||
options?: ApplicationCommandOptionData[];
|
options?: ApplicationCommandOptionData[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user