TypeScript/tests/baselines/reference/declFileClassWithStaticMethodReturningConstructor.types
2014-08-15 14:37:48 -07:00

13 lines
273 B
Plaintext

=== tests/cases/compiler/declFileClassWithStaticMethodReturningConstructor.ts ===
export class Enhancement {
>Enhancement : Enhancement
public static getType() {
>getType : () => typeof Enhancement
return this;
>this : typeof Enhancement
}
}