Skip to content

Commit

Permalink
update docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Dec 15, 2024
1 parent 9bf813c commit 06bbd7c
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 @@ -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)
Expand Down

0 comments on commit 06bbd7c

Please sign in to comment.