13 lines
208 B
JavaScript
13 lines
208 B
JavaScript
|
//// [constructorArgsErrors1.ts]
|
||
|
class foo {
|
||
|
constructor (static a: number) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [constructorArgsErrors1.js]
|
||
|
var foo = (function () {
|
||
|
function foo(a) {
|
||
|
}
|
||
|
return foo;
|
||
|
})();
|