TypeScript/tests/baselines/reference/errorRecoveryInClassDeclaration.js

19 lines
351 B
TypeScript
Raw Normal View History

2015-04-11 21:15:47 +02:00
//// [errorRecoveryInClassDeclaration.ts]
class C {
public bar() {
var v = foo(
public blaz() {}
);
}
}
2015-04-11 21:15:47 +02:00
//// [errorRecoveryInClassDeclaration.js]
var C = (function () {
function C() {
}
C.prototype.bar = function () {
var v = foo(public, blaz(), {});
};
return C;
})();