23 lines
799 B
Plaintext
23 lines
799 B
Plaintext
=== tests/cases/compiler/declFileForTypeParameters.ts ===
|
|
|
|
class C<T> {
|
|
>C : Symbol(C, Decl(declFileForTypeParameters.ts, 0, 0))
|
|
>T : Symbol(T, Decl(declFileForTypeParameters.ts, 1, 8))
|
|
|
|
x: T;
|
|
>x : Symbol(x, Decl(declFileForTypeParameters.ts, 1, 12))
|
|
>T : Symbol(T, Decl(declFileForTypeParameters.ts, 1, 8))
|
|
|
|
foo(a: T): T {
|
|
>foo : Symbol(foo, Decl(declFileForTypeParameters.ts, 2, 9))
|
|
>a : Symbol(a, Decl(declFileForTypeParameters.ts, 3, 8))
|
|
>T : Symbol(T, Decl(declFileForTypeParameters.ts, 1, 8))
|
|
>T : Symbol(T, Decl(declFileForTypeParameters.ts, 1, 8))
|
|
|
|
return this.x;
|
|
>this.x : Symbol(x, Decl(declFileForTypeParameters.ts, 1, 12))
|
|
>this : Symbol(C, Decl(declFileForTypeParameters.ts, 0, 0))
|
|
>x : Symbol(x, Decl(declFileForTypeParameters.ts, 1, 12))
|
|
}
|
|
}
|