TypeScript Professional — Hard
Key points
- Interfaces in TypeScript allow for merging declarations
- Type aliases do not support declaration merging
- Merging interfaces is useful for extending existing interfaces
- Type aliases are more limited in this aspect
Ready to go further?
Related questions
