//// [incrementOnTypeParameter.ts] class C { a: T; foo() { this.a++; for (var i: T, j = 0; j < 10; i++) { } } } //// [incrementOnTypeParameter.js] var C = (function () { function C() { } C.prototype.foo = function () { this.a++; for (var i, j = 0; j < 10; i++) { } }; return C; })();