TypeScript/tests/baselines/reference/recursiveProperties.types
2015-04-15 16:44:20 -07:00

24 lines
418 B
Plaintext

=== tests/cases/compiler/recursiveProperties.ts ===
class A {
>A : A
get testProp() { return this.testProp; }
>testProp : any
>this.testProp : any
>this : A
>testProp : any
}
class B {
>B : B
set testProp(value:string) { this.testProp = value; }
>testProp : string
>value : string
>this.testProp = value : string
>this.testProp : string
>this : B
>testProp : string
>value : string
}