Skip to content

Commit 72bb29e

Browse files
committed
update docusaurus
1 parent bd02481 commit 72bb29e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/src/pages/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -709,11 +709,11 @@ The TypeScript documentation outlines several [pitfalls](https://www.typescriptl
709709
},
710710
]`}</Rule>
711711
712-
As rule of a thumb, try to:
712+
As rule of a thumb, prefer:
713713
714-
- Use literal types whenever possible.
715-
- Use const assertion arrays when you need to loop through the values.
716-
- Use const assertion objects when there is a strong use case for them.
714+
- Literal types whenever possible.
715+
- Const assertion arrays when looping through values.
716+
- Const assertion objects when enumerating arbitrary values.
717717
718718
Examples:
719719

0 commit comments

Comments
 (0)