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

54 lines
666 B
Plaintext

=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithTypeArgumentInES6.ts ===
class B<T> {
>B : B<T>
>T : T
x: T;
>x : T
>T : T
B: T;
>B : T
>T : T
constructor(a: T) { this.B = a;}
>a : T
>T : T
>this.B = a : T
>this.B : T
>this : B<T>
>B : T
>a : T
foo(): T {
>foo : () => T
>T : T
return this.x;
>this.x : T
>this : B<T>
>x : T
}
get BB(): T {
>BB : T
>T : T
return this.B;
>this.B : T
>this : B<T>
>B : T
}
set BBWith(c: T) {
>BBWith : T
>c : T
>T : T
this.B = c;
>this.B = c : T
>this.B : T
>this : B<T>
>B : T
>c : T
}
}