DEV Community

Discussion on: type vs interface in TypeScript

Collapse
 
faiwer profile image
Stepan Zubashev

The most important thing regarding types is that they support types algebra (not only '|'). That's why I almost never use interface-s.