15 lines
293 B
TypeScript
15 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;
|
|
})();
|