From cb53931532153a4065c86ac82752d4f4fb73d3ee Mon Sep 17 00:00:00 2001 From: mkosir Date: Sat, 14 Dec 2024 07:41:56 +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 547b114..12b3bd6 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 allows the TypeScript compiler to notify you if the suppressed line becomes error-free in the future. +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. - 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.