Merge branch 'master' into map4

This commit is contained in:
Andy Hanson
2016-10-19 13:16:55 -07:00
118 changed files with 60824 additions and 59761 deletions
+1 -2
View File
@@ -515,8 +515,7 @@ namespace ts {
/* @internal */
export function createCompilerDiagnosticForInvalidCustomType(opt: CommandLineOptionOfCustomType): Diagnostic {
const namesOfType: string[] = [];
forEachKeyInMap(opt.type, key => namesOfType.push(` '${key}'`));
const namesOfType = keysOfMap(opt.type).map(key => `'${key}'`).join(", ");
return createCompilerDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, namesOfType);
}