We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd02481 commit 72bb29eCopy full SHA for 72bb29e
website/src/pages/index.mdx
@@ -709,11 +709,11 @@ The TypeScript documentation outlines several [pitfalls](https://www.typescriptl
709
},
710
]`}</Rule>
711
712
-As rule of a thumb, try to:
+As rule of a thumb, prefer:
713
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.
+- Literal types whenever possible.
+- Const assertion arrays when looping through values.
+- Const assertion objects when enumerating arbitrary values.
717
718
Examples:
719
0 commit comments