Type aliases can express any type. Interfaces can't express unions, mapped types, or conditional types. Interfaces have been present since the very first version of TypeScript. They're inspired by object-oriented programming and allow you to use inheritance to create types.

5m read timeFrom totaltypescript.com
Post cover image
Table of contents
Quick ExplanationFull Explanation
5 Comments

Sort: