mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-20 18:54:45 +12:00
types(BaseButtonComponentData): Narrow component type (#9735)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
parent
67dd30a28a
commit
c08230edc0
1 changed files with 1 additions and 0 deletions
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
|
@ -5810,6 +5810,7 @@ export interface MessageActivity {
|
|||
}
|
||||
|
||||
export interface BaseButtonOptions extends BaseMessageComponentOptions {
|
||||
type: 'BUTTON' | MessageComponentTypes.BUTTON;
|
||||
disabled?: boolean;
|
||||
emoji?: EmojiIdentifierResolvable;
|
||||
label?: string;
|
||||
|
|
Loading…
Reference in a new issue