E0220: TypeScript interface methods cannot contain a body
TypeScript interfaces describe the properties of objects, but do not describe
implementation of methods for those objects. It is a syntax error to write a
method body in an interface:
To fix this error, convert the interface into an abstract base class: