Skip to content

Commit

Permalink
update docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Dec 22, 2024
1 parent 8266c4d commit 464c24f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ Constants are used to represent values that are not meant to change, ensuring re
- 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`.
- Immutability - Objects and arrays get readonly properties, preventing accidental mutations.
Examples:
- Objects
```ts
Expand Down

0 comments on commit 464c24f

Please sign in to comment.