TypeScript/tests/baselines/reference/declFileClassWithStaticMethodReturningConstructor.types
2015-04-15 16:44:20 -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
}
}