ack() is not accessible in global middleware in TypeScript #1478
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
TypeScript-specific
Milestone
Description
ack()
function actually exists in global middleware arguments, but it's not accessible in TypeScript. Note thatack
does not exist in middleware args when receiving an Events API payload. It can exist for all the rest.What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Currently, a workaround is to cast the type to any:
Reproducible in:
package version: any
node version: any
OS version(s): any
Steps to reproduce:
Expected result:
The
ack
argument should be available.Actual result:
Compilation error as below:
The text was updated successfully, but these errors were encountered: