TypeScript Associate — Hard
Key points
- Interface extends is specific to object types and supports declaration merging
- Intersection types are more flexible but cannot be merged
- Understanding this difference is essential for object composition in TypeScript
Ready to go further?
Related questions
