14 lines
209 B
JavaScript
14 lines
209 B
JavaScript
|
//// [constructorArgsErrors5.ts]
|
||
|
class foo {
|
||
|
constructor (export a: number) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [constructorArgsErrors5.js]
|
||
|
var foo = (function () {
|
||
|
function foo(a) {
|
||
|
}
|
||
|
return foo;
|
||
|
})();
|