Skip to content

Commit

Permalink
Add missing null unions for plain text and static select block action…
Browse files Browse the repository at this point in the history
… types
  • Loading branch information
GovernmentHack committed Jul 31, 2023
1 parent eb80804 commit 7ded116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/actions/block-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface StaticSelectAction extends BasicElementAction<'static_select'>
selected_option: {
text: PlainTextElement;
value: string;
};
} | null;
initial_option?: Option;
placeholder?: PlainTextElement;
confirm?: Confirmation;
Expand Down Expand Up @@ -199,7 +199,7 @@ export interface CheckboxesAction extends BasicElementAction<'checkboxes'> {
* An action from a plain_text_input element (must use dispatch_action: true)
*/
export interface PlainTextInputAction extends BasicElementAction<'plain_text_input'> {
value: string;
value: string | null;
}

/**
Expand Down

0 comments on commit 7ded116

Please sign in to comment.