Type vs. Interface
Boris explains the nuances between using type aliases and interfaces in JavaScript, emphasizing that both serve similar purposes but have distinct capabilities. He highlights that type aliases allow for intersections and unions, while interfaces can extend other interfaces. Ultimately, the choice between the two often comes down to personal preference and coding style.In this clip
From this podcast

Software Engineering Radio - the podcast for professional software developers
Episode 384: Boris Cherny on TypeScript.mp3
Related Questions