Skip to content

Commit

Permalink
types(BaseButtonComponentData): Narrow component type (#9735)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
  • Loading branch information
2 people authored and vladfrangu committed Nov 5, 2023
1 parent 67dd30a commit c08230e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5810,6 +5810,7 @@ export interface MessageActivity {
}

export interface BaseButtonOptions extends BaseMessageComponentOptions {
type: 'BUTTON' | MessageComponentTypes.BUTTON;
disabled?: boolean;
emoji?: EmojiIdentifierResolvable;
label?: string;
Expand Down

0 comments on commit c08230e

Please sign in to comment.