Description
The types in block-action.ts are super useful for just interacting with the Slack API in other packages, like @slack/web-api. We pull in @slack/bolt just to use these types. It would be great if these types could be moved to @slack/types to avoid having to pull in all of @slack/bolt just to use them.
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.11.0
node version: 16.x
OS version(s): Ubuntu 20.04
Steps to reproduce:
npm i @slack/types
- import various button action types :)
Expected result:
Leverage the awesome button action types
Actual result:
Have to get them from @slack/bolt instead
Attachments:
I picked the funny image option:

Description
The types in block-action.ts are super useful for just interacting with the Slack API in other packages, like @slack/web-api. We pull in @slack/bolt just to use these types. It would be great if these types could be moved to @slack/types to avoid having to pull in all of @slack/bolt just to use them.
What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.11.0
node version: 16.x
OS version(s): Ubuntu 20.04
Steps to reproduce:
npm i @slack/typesExpected result:
Leverage the awesome button action types
Actual result:
Have to get them from @slack/bolt instead
Attachments:
I picked the funny image option: