Skip to content

Commit

Permalink
Merge pull request #43 from sametcelikbicak/fix-typo
Browse files Browse the repository at this point in the history
Fix typo for visual represent.
  • Loading branch information
mattpocock authored Jul 15, 2024
2 parents 399c25f + da855a2 commit 6914192
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 6914192

Please sign in to comment.