Concept Flow - What structural typing means
Define Type A with properties
Create object with matching properties
Assign object to Type A variable
TypeScript checks if object shape matches Type A
If shapes match, assignment allowed
Use object as Type A safely
Structural typing means TypeScript checks if an object has the right shape (properties and types) to match a type, not if it explicitly declares that type.