TypeScript · Types · Mid-Level · Comparison
type vs interface for object shapes?
Short Interview Answer
Both describe objects; interfaces merge via declaration merging; type aliases can union/intersect freely.
Detailed Explanation
Team style often: interfaces for objects, types for unions/mapped. Be consistent.