From 056662de7cd9aa12c21ef27ddfee2ee49b8d7400 Mon Sep 17 00:00:00 2001 From: Dafrok Date: Mon, 19 Sep 2016 13:48:01 +0800 Subject: [PATCH] Pass the jake test --- src/compiler/tsc.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/tsc.ts b/src/compiler/tsc.ts index 497ed4ed224..7cf8864d357 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -667,7 +667,7 @@ namespace ts { } function printHelp() { - const output = []; + const output: any = []; // We want to align our "syntax" and "examples" commands to a certain margin. const syntaxLength = getDiagnosticText(Diagnostics.Syntax_Colon_0, "").length; @@ -765,9 +765,9 @@ namespace ts { output.push(sys.newLine); } } - output.forEach(function (val) { + output.forEach(function (val: any) { sys.write(val); - }) + }); return; function getParamType(option: CommandLineOption) {