TypeScript/tests/baselines/reference/unusedTypeParameterInMethod2.js

23 lines
373 B
TypeScript

//// [unusedTypeParameterInMethod2.ts]
class A {
public f1<X, Y, Z>() {
var a: X;
var b: Z;
a;
b;
}
}
//// [unusedTypeParameterInMethod2.js]
var A = /** @class */ (function () {
function A() {
}
A.prototype.f1 = function () {
var a;
var b;
a;
b;
};
return A;
}());