mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-12 12:10:48 +08:00
Added default parameter '--noImplicitAny' to runner.ts
This commit is contained in:
1 parent
29c3c36ef9
commit
e7561e2fca
2 files changed
+4
No files matched your search
@@ -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