Skip to content

Commit

Permalink
update docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Dec 14, 2024
1 parent 2538899 commit 96bb453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ const renderUserAvatar = (avatar: string) => {...}
When a TypeScript error cannot be mitigated, use `@ts-expect-error` as a last resort to suppress it. This directive enables the TypeScript compiler to indicate when the suppressed line no longer contains an error, ensuring that suppressed errors are revisited when they are no longer relevant.

- Always use `@ts-expect-error` with a clear description explaining why it is necessary.
- Avoid using `@ts-ignore`, as it does not provide the same level of safety and accountability as @ts-expect-error.
- The use of `@ts-ignore` should be avoided, as it does not provide the same level of safety and accountability as `@ts-expect-error`.

<Rule href="https://typescript-eslint.io/rules/ban-ts-comment/#allow-with-description">{`'@typescript-eslint/ban-ts-comment': [
'error',
Expand Down

0 comments on commit 96bb453

Please sign in to comment.