TypeScript/tests/baselines/reference/declFileForTypeParameters.types

23 lines
260 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileForTypeParameters.ts ===
class C<T> {
>C : C<T>
>T : T
2014-08-15 23:33:16 +02:00
x: T;
>x : T
>T : T
2014-08-15 23:33:16 +02:00
foo(a: T): T {
>foo : (a: T) => T
>a : T
>T : T
>T : T
2014-08-15 23:33:16 +02:00
return this.x;
>this.x : T
>this : C<T>
>x : T
2014-08-15 23:33:16 +02:00
}
}