TypeScript: Type of the current class as a type variable
There is not a way to do this yet in TypeScript. See issue https://github.com/Microsoft/TypeScript/issues/285 for voting/discussion.
A fluent interface implementation is now possible:
class FluentInterface {
aMethod(): this {
return this;
}
}