mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53: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 {
|
||||
description: string;
|
||||
type: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
|
||||
type?: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
|
||||
options?: ApplicationCommandOptionData[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user