TypeScript/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js
2015-03-31 14:29:45 -07:00

16 lines
293 B
TypeScript

//// [parsingClassRecoversWhenHittingUnexpectedSemicolon.ts]
class C {
public f() { };
private m;
}
//// [parsingClassRecoversWhenHittingUnexpectedSemicolon.js]
var C = (function () {
function C() {
}
C.prototype.f = function () { };
;
return C;
})();