Closed petgus-lyko closed 4 months ago
👋 Hey @petgus-lyko, thanks for raising this! I can confirm the same behavior and it seems like a bug with the types. We'll look into fixing this soon, but for now I think the @ts-ignore
comment is needed.
A fix for this just went out in @slack/web-api@7.0.2! Thank you again for sharing this and please let me know if there seems to be any more strangeness here 🙌
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
"slack/web-api": "^7.0.1",
Node.js runtime version
v18.16.0
OS info
ProductName: macOS ProductVersion: 14.1.2 BuildVersion: 23B92 Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64
Steps to reproduce:
Here's a code example including some comments regarding the problem I'm facing.
Expected result:
No typescript type errors
Actual result: