Code QuizIntermediate Class Implementing Interface
Spot why a class fails to satisfy the interface it implements.
Codetypescript
interface Shape {
area(): number;
}
class Circle implements Shape {
radius = 5;
getArea() {
return Math.PI * this.radius ** 2;
}
}What is the bug in this class implementation?