Skip to content

Commit

Permalink
Fix typo for visual represent.
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcelikbicak authored Jul 11, 2024
1 parent 399c25f commit da855a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book-content/chapters/05-unions-literals-and-narrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ type DigitalFormat = "MP3" | "FLAC";
type PhysicalFormat = "LP" | "CD" | "Cassette";
```

We could then specify `AlbumFormat` as a union of `DigitalFormat` and `PhysicalFormat:
We could then specify `AlbumFormat` as a union of `DigitalFormat` and `PhysicalFormat`:

```tsx
type AlbumFormat = DigitalFormat | PhysicalFormat;
Expand Down

0 comments on commit da855a2

Please sign in to comment.