TypeScript | Type Aliases | Question5

Last Updated :
Discuss
Comments

Which of the following is a correct example of a type alias for a union type?

A variable with a single type

A type that can hold only one value

A type that combines multiple possible types

A type that restricts values to numbers only

Share your thoughts in the comments