Declaring abstract method in TypeScript
The name property is marked as protected. This was added in TypeScript 1.3 and is now firmly established. The makeSound method is marked as abstract, as is the class. You cannot directly instantiate an Animal now, because it is abstract. This is part of TypeScript 1.6, which is now officially live. abstract class Animal { … Read more