Skip to content

Commit

Permalink
docs(eslint-plugin): [await-thenable] fix typo (#6639)
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-04 committed Mar 15, 2023
1 parent 9eafd87 commit 3cd8ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/await-thenable.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: 'Disallow awaiting a value that is not a Thenable.'
>
> See **https://typescript-eslint.io/rules/await-thenable** for documentation.
A "Thenable" value is an object with has a `then` method, such as a Promise.
A "Thenable" value is an object which has a `then` method, such as a Promise.
The `await` keyword is generally used to retrieve the result of calling a Thenable's `then` method.

If the `await` keyword is used on a value that is not a Thenable, the value is directly resolved immediately.
Expand Down

0 comments on commit 3cd8ce1

Please sign in to comment.