Skip to content

Commit 575ab1b

Browse files
committed
update docusaurus
1 parent 8b2ba29 commit 575ab1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/pages/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const regularUser: User = {
194194
};
195195
```
196196

197-
### Discriminated union
197+
### Discriminated Union
198198

199199
If there's only one TypeScript feature to choose from, embrace discriminated unions.
200200

@@ -275,7 +275,7 @@ const iconColor: Color = 'blue-400';
275275
const customColor: Color = '#AD3128';
276276
```
277277

278-
### Type-Safe Constants with `satisfies`
278+
### Type-Safe Constants with satisfies
279279

280280
The `as const satisfies` syntax is a powerful feature in TypeScript that combines strict type-checking and immutability for constants. It is particularly useful when defining constants that need to conform to a specific type.
281281

0 commit comments

Comments
 (0)