Respond to code review comments

This commit is contained in:
Mohamed Hegazy
2014-12-10 12:37:09 -08:00
parent 06e73d33be
commit b0574cbdf9
7 changed files with 20 additions and 42 deletions

View File

@@ -88,6 +88,11 @@ module ts {
description: Diagnostics.Redirect_output_structure_to_the_directory,
paramType: Diagnostics.DIRECTORY,
},
{
name: "preserveConstEnums",
type: "boolean",
description: Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code
},
{
name: "removeComments",
type: "boolean",
@@ -104,6 +109,11 @@ module ts {
description: Diagnostics.Specifies_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations,
paramType: Diagnostics.LOCATION,
},
{
name: "suppressImplicitAnyIndexErrors",
type: "boolean",
description: Diagnostics.Suppress_noImplicitAny_errors_for_indexing_into_objects_lacking_index_signatures,
},
{
name: "target",
shortName: "t",
@@ -124,18 +134,6 @@ module ts {
type: "boolean",
description: Diagnostics.Watch_input_files,
},
{
name: "preserveConstEnums",
type: "boolean",
description: Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code
},
{
name: "suppress",
type: { "implicitanyindex": ErrorGroup.ImplicitAnyIndex},
description: Diagnostics.Suppress_a_set_of_compiler_checks,
paramType: Diagnostics.ERRORGROUP,
error: Diagnostics.Argument_for_suppress_option_can_only_be_implicitAnyIndex
},
];
var shortOptionNames: Map<string> = {};