Setting reply_broadcast
gives a type error when it's a dynamic value
#1859
Labels
area:typescript
issues that specifically impact using the package from typescript projects
bug
M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
Milestone
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Reproducible in:
The Slack SDK version
v7.3.1
Node.js runtime version
18.18.2
Typescript version
5.5.4
OS info
Steps to reproduce:
Dynamically set
reply_broadcast
as we do in this wrapper function:Expected result:
No type error
Actual result:
Note: if I set
reply_broadcast
totrue
orfalse
the error goes away.Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
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: