socket-mode: Type event payloads #1768
Labels
area:typescript
issues that specifically impact using the package from typescript projects
auto-triage-skip
enhancement
M-T: A feature request for new functionality
pkg:socket-mode
applies to `@slack/socket-mode`
semver:major
Milestone
I'm using
@slack/socket-mode
in a TypeScript project and would love to be able to benefit from type definitions when defining event handlers -- e.g. when I invoke something along the lines ofI'd like
event
to not be of theany
type but instead to reflect the expected type for the event in question.It looks like there are libraries that might support this, for your consideration.
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: