TypeScript/tests/baselines/reference/raiseErrorOnParameterProperty.js
2014-07-12 17:30:19 -07:00

18 lines
273 B
TypeScript

//// [raiseErrorOnParameterProperty.ts]
class C1 {
constructor(public x: X) {
}
}
var c1 = new C1(0);
//// [raiseErrorOnParameterProperty.js]
var C1 = (function () {
function C1(x) {
this.x = x;
}
return C1;
})();
var c1 = new C1(0);