TypeScript/tests/baselines/reference/constructorArgsErrors3.js
2015-12-08 17:51:10 -08:00

15 lines
237 B
TypeScript

//// [constructorArgsErrors3.ts]
class foo {
constructor (public public a: number) {
}
}
//// [constructorArgsErrors3.js]
var foo = (function () {
function foo(a) {
this.a = a;
}
return foo;
}());