From 06bbd7c1c6cd857a44b334b86324d005206e722c Mon Sep 17 00:00:00 2001 From: mkosir Date: Sun, 15 Dec 2024 09:12:16 +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 2273de8..d4dbadf 100644 --- a/website/src/pages/index.mdx +++ b/website/src/pages/index.mdx @@ -641,7 +641,7 @@ Strive to use const assertion `as const`: Const assertions must be used over enums. While enums can still fulfill similar use cases as const assertions, we tend to avoid using them. -The TypeScript documentation highlights several reasons for this preference, such as: +The TypeScript documentation highlights several reasons into the limitations and potential issues with enums, such as: - [Const enum pitfalls](https://www.typescriptlang.org/docs/handbook/enums.html#const-enum-pitfalls) - [Objects vs Enums](https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)