DEV Community

Discussion on: Type Narrowing in TypeScript

Collapse
 
mainawycliffe profile image
Maina Wycliffe

Thanks. To be honest, no reason, just a forceful habit. Over the years, the gap between interfaces and types aliases keeps closing and as of the moment, they can be mostly interchanged without major issue. I use type aliases mostly for consistency and it became a habit.