diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 877928ba1a1..4813d4b4300 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -151,8 +151,7 @@ namespace ts { }, showInSimplifiedHelpView: true, category: Diagnostics.Basic_Options, - description: Diagnostics.Specify_library_files_to_be_included_in_the_compilation_Colon, - descriptionOnTSConfig: Diagnostics.Specify_library_files_to_be_included_in_the_compilation + description: Diagnostics.Specify_library_files_to_be_included_in_the_compilation_Colon }, { name: "allowJs", @@ -1352,8 +1351,7 @@ namespace ts { optionName = `// "${option.name}": ${JSON.stringify(getDefaultValueForOption(option))},`; } nameColumn.push(optionName); - const optionDescription = option.descriptionOnTSConfig || option.description; - descriptionColumn.push(`/* ${optionDescription && getLocaleSpecificMessage(optionDescription) || option.name} */`); + descriptionColumn.push(`/* ${option.description && getLocaleSpecificMessage(option.description) || option.name} */`); marginLength = Math.max(optionName.length, marginLength); } }); diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 6b1b4b93824..cf5ccb1397d 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -3451,10 +3451,6 @@ "category": "Error", "code": 6189 }, - "Specify library files to be included in the compilation.": { - "category": "Message", - "code": 6190 - }, "Variable '{0}' implicitly has an '{1}' type.": { "category": "Error", "code": 7005 diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 2265339d64b..e4ada136730 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4120,7 +4120,6 @@ namespace ts { isFilePath?: boolean; // True if option value is a path or fileName shortName?: string; // A short mnemonic for convenience - for instance, 'h' can be used in place of 'help' description?: DiagnosticMessage; // The message describing what the command line switch does - descriptionOnTSConfig?: DiagnosticMessage; // The message describing what the option does in tsconfig.json file paramType?: DiagnosticMessage; // The name to be used for a non-boolean option's parameter isTSConfigOnly?: boolean; // True if option can only be specified via tsconfig.json file isCommandLineOnly?: boolean;