Typescript Supports Both Class Based Polymorphism In Javascript