TypeScript/tests/baselines/reference/declFileClassWithStaticMethodReturningConstructor.types

13 lines
273 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileClassWithStaticMethodReturningConstructor.ts ===
export class Enhancement {
>Enhancement : Enhancement
2014-08-15 23:33:16 +02:00
public static getType() {
>getType : () => typeof Enhancement
2014-08-15 23:33:16 +02:00
return this;
>this : typeof Enhancement
2014-08-15 23:33:16 +02:00
}
}