TypeScript/tests/baselines/reference/declFileClassWithStaticMethodReturningConstructor.types
2015-04-13 14:29:37 -07:00

13 lines
543 B
Plaintext

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