TypeScript Professional — Hard
Key points
- Interface merging creates an intersection of declarations
- Conflicting property types result in 'never'
- Type alias intersection behaves similarly
- Both handle incompatible types by producing 'never'
Ready to go further?
Related questions
