Skip to content

Commit 4a31524

Browse files
Apply suggestions from code review
Co-authored-by: Haley Elmendorf <[email protected]>
1 parent 6907429 commit 4a31524

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/migration/migrating-web-api-package-to-v7.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm i @slack/web-api
1414

1515
**TL;DR**: this package now supports only node v18 and newer, and HTTP API arguments passed to methods in this project in the context of a TypeScript project are stricter.
1616

17-
This release focusses on the type safety of Slack HTTP API method arguments provided by `@slack/web-api`. If you use this package in a TypeScript project, many of the HTTP API methods now have stricter argument typing, which hopefully helps guide developers towards proper argument usage for Slack's HTTP API methods.
17+
This release focuses on the type safety of Slack HTTP API method arguments provided by `@slack/web-api`. If you use this package in a TypeScript project, many of the HTTP API methods now have stricter argument typing, which hopefully helps guide developers towards proper argument usage for Slack's HTTP API methods.
1818

1919
**If you use this package in a JavaScript project, no such guidance is provided and the breaking changes listed below do not apply to you.**
2020

@@ -93,7 +93,7 @@ You can no longer provide _both_ `request_id` and `app_id` - these APIs will onl
9393

9494
## `admin.barriers.*`
9595

96-
The `restricted_subjects` array is no longer a `string[]` but enforces an array with the exact values `['im', 'mpim', 'call']` - which these APIs demands (see e.g. [`admin.barriers.create` usage info](https://api.slack.com/methods/admin.barriers.create#markdown)).
96+
The `restricted_subjects` array is no longer a `string[]` but enforces an array with the exact values `['im', 'mpim', 'call']` - which these APIs demand (see e.g. [`admin.barriers.create` usage info](https://api.slack.com/methods/admin.barriers.create#markdown)).
9797

9898
## `admin.conversations.*`
9999

0 commit comments

Comments
 (0)