E0111: missing body for class
Classes require a body, which must be a list of properties and methods
surrounded by {
and }
. It is a syntax error to omit the body of a class:
class Animal {}
class Doge extends Animal
class Kitty extends Animal
To fix this error, write the body of the class, including {
and }
:
class Animal {}
class Doge extends Animal {}
class Kitty extends Animal {}