Why might you prefer a type alias over an interface for certain definitions?
Type aliases allow merging declarations.
Type aliases can represent union and intersection types.
Type aliases are faster to compile than interfaces.
Type aliases enforce stricter type safety.
This question is part of this quiz :
Object Types and Interfaces in TypeScript QuizTypeScript | Object Types and Interfaces in TypeScript | Question10