web-api: type-safe response properties access #1902
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:web-api
applies to `@slack/web-api`
question
M-T: User needs support to use the project
semver:major
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
If there was an error here, the function would throw an error and we could
catch
it somewhere else. It's confusing me and should be a bug that we can't safely access properties after a function is called with no errors.Should we be having to use
if {} else {}
to safely access these properties?Reproducible in:
package version:
"@slack/bolt": "^3.12.2",
The text was updated successfully, but these errors were encountered: