I\'m learning TypeScript and have the following class:
TypeScript
class DetailDriver { public get driver() { return super.getEntity(); }
For reference, you could also just do:
class SomeClass { public someMethod() { // Do something } public anotherMethod() { var that = this; // Reference the class instance function someFunction () { that.someMethod(); } } }