Open benasher44 opened 2 years ago
Hi @benasher44 , thanks for taking the time to share this feedback! Indeed, this should be valuable for many developers! We will work on this sometime soon.
FYI I've included/linked this issue in https://github.com/slackapi/node-slack-sdk/issues/1395
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
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: