Skip to content

Commit 300d7d2

Browse files
authored
docs(eslint-plugin): fix typo in prefer-ts-expect-error (#8504)
1 parent 98aa4f3 commit 300d7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/docs/rules/prefer-ts-expect-error.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: 'Enforce using `@ts-expect-error` over `@ts-ignore`.'
99
TypeScript allows you to suppress all errors on a line by placing a comment starting with `@ts-ignore` or `@ts-expect-error` immediately before the erroring line.
1010
The two directives work the same, except `@ts-expect-error` causes a type error if placed before a line that's not erroring in the first place.
1111

12-
This means its easy for `@ts-ignore`s to be forgotten about, and remain in code even after the error they were suppressing is fixed.
12+
This means it's easy for `@ts-ignore`s to be forgotten about, and remain in code even after the error they were suppressing is fixed.
1313
This is dangerous, as if a new error arises on that line it'll be suppressed by the forgotten about `@ts-ignore`, and so be missed.
1414

1515
## Examples

0 commit comments

Comments
 (0)