Skip to content

Commit

Permalink
update docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Jan 9, 2025
1 parent b07e74d commit 8a625e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ TypeScript provides two options for defining types: `type` and `interface`. Whil

```ts
// ❌ Avoid interface definitions
interface UserRole = 'admin' | 'guest'; // invalid - interface can't define (commonly used) type unions
interface UserRole = 'admin' | 'guest'; // Invalid - interfaces can't define type unions

interface UserInfo {
name: string;
Expand Down

0 comments on commit 8a625e3

Please sign in to comment.