mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Added default parameter '--noImplicitAny' to runner.ts
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user