Explore Library
FlashcardBeginner

Combining Literal Types with Unions

Union literal types define a fixed set of allowed exact values.

Question

How do you create a set of allowed values with literal types?

Click to reveal answer