TypeScript | Type Aliases | Question8

Last Updated :
Discuss
Comments

How can you combine multiple type aliases in TypeScript?

Using the | (pipe) operator for union types

Using the & (ampersand) operator for intersection types

Both a and b

Type aliases cannot be combined

Share your thoughts in the comments