BlockAction interface does not include state despite state being present in actual object #1141
Closed
4 of 10 tasks
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
TypeScript-specific
Milestone
Description
BlockAction interface does not include state despite state existing in the payload
When console.logging the body of a button app.action, state is present, and contains my text input values, so the values are clearly present in the payload. However, trying to access it won't work because of Typescript errors.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.7.0
node version: 16.3.0
OS version(s): Windows 11
Steps to reproduce:
Expected result:
Reference body.state with no problem
Actual result:
Typescript error: TS2339: Property 'state' does not exist on type 'BlockAction '.
Attachments:
The text was updated successfully, but these errors were encountered: