From e7561e2fcac1fc7ea1f9a8aa5542291013693017 Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 1 Oct 2013 16:44:33 +0900 Subject: [PATCH] Added default parameter '--noImplicitAny' to runner.ts --- _infrastructure/tests/runner.js | 2 ++ _infrastructure/tests/runner.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/_infrastructure/tests/runner.js b/_infrastructure/tests/runner.js index 855cffa698..fd926bcb1c 100644 --- a/_infrastructure/tests/runner.js +++ b/_infrastructure/tests/runner.js @@ -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); diff --git a/_infrastructure/tests/runner.ts b/_infrastructure/tests/runner.ts index bd60ebe7ab..68e5f36bad 100644 --- a/_infrastructure/tests/runner.ts +++ b/_infrastructure/tests/runner.ts @@ -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);