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