TypeScript/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js

15 lines
286 B
JavaScript
Raw Normal View History

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