mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
types(BaseButtonComponentData): Narrow component type (#9735)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user