TypeScript handbook (opens in a new tab)
The official reference for the tools used in this lesson.
Link
TypeScript compares shapes, not names. Two unrelated types are interchangeable if their members line up, which explains most surprising assignability errors.
Lesson 1.111m 49sIntermediate22.1k students
This lesson sits in How the Type System Thinks, part of TypeScript for Application Developers. It assumes what came before it and leads directly into the next lesson in the module.
The official reference for the tools used in this lesson.