QuizIntermediate

Structural Typing of Classes

Understand how TypeScript compares class types by their shape.

How does TypeScript decide if two class instance types are compatible?