Added default parameter '--noImplicitAny' to runner.ts

This commit is contained in:
vvakame
2013-10-03 10:18:57 +09:00
parent 29c3c36ef9
commit e7561e2fca
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -586,6 +586,8 @@ var DefinitelyTyped;
var command = 'node ./_infrastructure/tests/typescript/tsc.js --module commonjs ';
if (IO.fileExists(tsfile + '.tscparams')) {
command += '@' + tsfile + '.tscparams';
} else {
command += '--noImplicitAny';
}
Exec.exec(command, [tsfile], function (ExecResult) {
callback(ExecResult);
+2
View File
@@ -31,6 +31,8 @@ module DefinitelyTyped {
var command = 'node ./_infrastructure/tests/typescript/tsc.js --module commonjs ';
if (IO.fileExists(tsfile + '.tscparams')) {
command += '@' + tsfile + '.tscparams';
} else {
command += '--noImplicitAny';
}
Exec.exec(command, [tsfile], (ExecResult) => {
callback(ExecResult);