TypeScript | TypeScript Object Oriented Programming | Question7

Last Updated :
Discuss
Comments

How is an abstract method declared in TypeScript?

abstract myMethod() {};

abstract myMethod() {}:

abstract myMethod(): void;

function abstract myMethod() {}

Share your thoughts in the comments