-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #342 TypeScript: multi-select/radio button block elements are still unsupported #344
Conversation
… are still unsupported
| OverflowAction | ||
| DatepickerAction; | ||
| DatepickerAction | ||
| RadioButtonsAction; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
radio_buttons
were not added when it was added.
/** | ||
* An action from a select menu with external data source | ||
*/ | ||
export interface ExternalSelectAction extends BasicElementAction<'external_select'> { | ||
selected_option?: Option; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid that this field has been missing since this interface was added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit fixed #210
Codecov Report
@@ Coverage Diff @@
## master #344 +/- ##
=======================================
Coverage 73.35% 73.35%
=======================================
Files 7 7
Lines 503 503
Branches 146 146
=======================================
Hits 369 369
Misses 102 102
Partials 32 32 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for doing this @seratch!
Summary
This pull request fixes #342 by adding the following types of
block_actions
in TypeScript.(To be clear, JavaScript users don't need to wait for this fix to use newly added block elements)
Requirements (place an
x
in each[ ]
)