Skip to content

Commit 464c24f

Browse files
committed
update docusaurus
1 parent 8266c4d commit 464c24f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/src/pages/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@ Constants are used to represent values that are not meant to change, ensuring re
642642
- Type Narrowing - Using `as const` ensures that literal values (e.g., numbers, strings) are treated as exact values instead of generalized types like `number` or `string`.
643643
- Immutability - Objects and arrays get readonly properties, preventing accidental mutations.
644644
645+
Examples:
646+
645647
- Objects
646648
647649
```ts

0 commit comments

Comments
 (0)