24 lines
418 B
Text
24 lines
418 B
Text
|
=== 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
|
||
|
}
|