I do not necessarily confirm that you are continuing this approach, but ...
class Bar extends Foo {
public get Message():string {
return Object.getOwnPropertyDescriptor(Foo.prototype, 'Message').get.apply(this) + ' World';
}
}
Prototype inheritance does not make this particularly easy.
source
share