Concept Flow - Merging classes with interfaces
Define class
Define interface with same name
TypeScript merges interface into class type
Class instances have combined type
Use merged properties and methods
TypeScript merges an interface with the same name as a class, combining their types so class instances have all properties and methods.