TypeScript card revieweasy
What is the difference between interfaces and type aliases in TypeScript?
Interfaces are extendable via declaration merging (defining the same interface name multiple times stacks fields) and are typically preferred for object structures. Type aliases can define primitives, unions, intersections, and tuples, making them more versatile, but they cannot be merged through duplicate declarations.