Hello, I'm continuing my migration for botbuilder-slack to the new 4.x release. Today I realized that the responses from method calls are not type dependent on the method invocation, response type for every api call is Promise<WebAPICallResult>. Is there any plan to support strong typed responses ? I can work on this with my previous typings.
x in one of the [ ])x in each of the [ ])@bilby91 I鈥檓 glad to see your migration continue!
We鈥檙e having a discussion about a few different ways to get richer types in another issue. Specifically, I mentioned exactly what you鈥檙e asking for in point (4) in this comment. I鈥檇 really appreciate your participation in that discussion so we can potentially come up with the steps to get there and divide the work.
Hello @aoberoi !!
I've been looking into the issues and PRs and it seems that there has been some progress on response typings :)
Are they complete by this moment ?
There is a PR open currently adding typing for web api responses. https://github.com/slackapi/node-slack-sdk/pull/1078. We are hoping to land these changes in the next few months.
Most helpful comment
@bilby91 I鈥檓 glad to see your migration continue!
We鈥檙e having a discussion about a few different ways to get richer types in another issue. Specifically, I mentioned exactly what you鈥檙e asking for in point (4) in this comment. I鈥檇 really appreciate your participation in that discussion so we can potentially come up with the steps to get there and divide the work.