From 253889931486ecb3e4ae28edfdba7e79fa82e985 Mon Sep 17 00:00:00 2001 From: mkosir Date: Sat, 14 Dec 2024 07:43:41 +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 12b3bd6..adca877 100644 --- a/website/src/pages/index.mdx +++ b/website/src/pages/index.mdx @@ -382,7 +382,7 @@ const renderUserAvatar = (avatar: string) => {...} ### Type Error -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. +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.