Concept Flow - Excess property checking behavior
Define Interface
Create Object Literal
Assign Object to Interface Variable
Check Properties
Pass
Use Object
When assigning an object literal to a variable typed by an interface, TypeScript checks if the object has extra properties not in the interface and reports errors if found.