Concept Flow - Type compatibility with classes
Define Class A
Define Class B
Create instance of A
Assign instance of A to variable of type B?
Yes/No
Check properties and methods compatibility
Result: Compatible or Not Compatible
This flow shows how TypeScript checks if one class instance can be assigned to a variable of another class type by comparing their properties and methods.