1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
=== tests/cases/compiler/unusedTypeParameterInFunction3.ts ===
function f1<X, Y, Z>() {
>f1 : Symbol(f1, Decl(unusedTypeParameterInFunction3.ts, 0, 0))
>X : Symbol(X, Decl(unusedTypeParameterInFunction3.ts, 0, 12))
>Y : Symbol(Y, Decl(unusedTypeParameterInFunction3.ts, 0, 14))
>Z : Symbol(Z, Decl(unusedTypeParameterInFunction3.ts, 0, 17))
var a: X;
>a : Symbol(a, Decl(unusedTypeParameterInFunction3.ts, 1, 7))
>X : Symbol(X, Decl(unusedTypeParameterInFunction3.ts, 0, 12))
var b: Z;
>b : Symbol(b, Decl(unusedTypeParameterInFunction3.ts, 2, 7))
>Z : Symbol(Z, Decl(unusedTypeParameterInFunction3.ts, 0, 17))
a;
>a : Symbol(a, Decl(unusedTypeParameterInFunction3.ts, 1, 7))
b;
>b : Symbol(b, Decl(unusedTypeParameterInFunction3.ts, 2, 7))
}
|