We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056662d commit 4ec9209Copy full SHA for 4ec9209
src/compiler/tsc.ts
@@ -667,7 +667,7 @@ namespace ts {
667
}
668
669
function printHelp() {
670
- const output: any = [];
+ const output: string[] = [];
671
672
// We want to align our "syntax" and "examples" commands to a certain margin.
673
const syntaxLength = getDiagnosticText(Diagnostics.Syntax_Colon_0, "").length;
@@ -765,9 +765,10 @@ namespace ts {
765
output.push(sys.newLine);
766
767
768
- output.forEach(function (val: any) {
769
- sys.write(val);
770
- });
+
+ for (const line of output) {
+ sys.write(line);
771
+ }
772
return;
773
774
function getParamType(option: CommandLineOption) {
0 commit comments