TypeScript/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js
2015-02-06 18:45:09 -08:00

15 lines
286 B
JavaScript

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