Take a few changes.

This commit is contained in:
Dafrok
2016-09-20 10:13:46 +08:00
parent 056662de7c
commit 4ec9209a6a

View File

@@ -667,7 +667,7 @@ namespace ts {
}
function printHelp() {
const output: any = [];
const output: string[] = [];
// We want to align our "syntax" and "examples" commands to a certain margin.
const syntaxLength = getDiagnosticText(Diagnostics.Syntax_Colon_0, "").length;
@@ -765,9 +765,10 @@ namespace ts {
output.push(sys.newLine);
}
}
output.forEach(function (val: any) {
sys.write(val);
});
for (const line of output) {
sys.write(line);
}
return;
function getParamType(option: CommandLineOption) {