TypeScript/tests/baselines/reference/raiseErrorOnParameterProperty.js

18 lines
273 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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);