TypeScript/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js

15 lines
291 B
JavaScript

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