From 96bb453092ce15232a8c10633d0e13637b162b40 Mon Sep 17 00:00:00 2001 From: mkosir Date: Sat, 14 Dec 2024 07:44:57 +0100 Subject: [PATCH] update docusaurus --- website/src/pages/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/index.mdx b/website/src/pages/index.mdx index adca877..c8a9e17 100644 --- a/website/src/pages/index.mdx +++ b/website/src/pages/index.mdx @@ -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`. {`'@typescript-eslint/ban-ts-comment': [ 'error',