TypeScript/tests/baselines/reference/inOperatorWithGeneric.js
2014-07-12 17:30:19 -07:00

19 lines
300 B
TypeScript

//// [inOperatorWithGeneric.ts]
class C<T> {
foo(x:T) {
for (var p in x) {
}
}
}
//// [inOperatorWithGeneric.js]
var C = (function () {
function C() {
}
C.prototype.foo = function (x) {
for (var p in x) {
}
};
return C;
})();