• Courses
  • Tutorials
  • Practice
  • Contests
Switch to Dark Mode

TypeScript | Object Types and Interfaces in TypeScript | Question10

Last Updated : Mar 22, 2025
Discuss
Comments

Why might you prefer a type alias over an interface for certain definitions?

A

Type aliases allow merging declarations.

B

Type aliases can represent union and intersection types.

C

Type aliases are faster to compile than interfaces.

D

Type aliases enforce stricter type safety.

Share your thoughts in the comments