DEV Community

Discussion on: Type Narrowing in TypeScript

mainawycliffe profile image
Maina Wycliffe Author

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.