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