21 lines
270 B
Text
21 lines
270 B
Text
=== tests/cases/conformance/classes/propertyMemberDeclarations/thisInInstanceMemberInitializer.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
x = this;
|
|
>x : C
|
|
>this : C
|
|
}
|
|
|
|
class D<T> {
|
|
>D : D<T>
|
|
>T : T
|
|
|
|
x = this;
|
|
>x : D<T>
|
|
>this : D<T>
|
|
|
|
y: T;
|
|
>y : T
|
|
>T : T
|
|
}
|