ViewSubmitAction type missing trigger_id
#572
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
TypeScript-specific
Description
On view submission, the
body
element of the response includes atrigger_id
value which can be used to perform additional actions. TheViewSubmitAction
type does not includetrigger_id
so when handling the event,body
does not include this value.What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
body
is missing from withinViewSubmitAction
Reproducible in:
package version:
2.0.1
node version:
12.12.0
OS version(s):
macOS 10.15.6
Steps to reproduce:
trigger_id
withinbody
Expected result:
No type error,
trigger_id
is accessibleActual result:
Type error but value is accessible when asserting as another type
Workaround
Included in snippet above, just assert as
unknown
then as astring: string
dictionaryThe text was updated successfully, but these errors were encountered: