diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index c161aa55bbd..3b5b7cbba20 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -501,19 +501,19 @@ namespace ts { // for correct behaviour, please use outFile category: "Advanced", paramType: Diagnostics.FILE, - description: Diagnostics.Concatenate_and_emit_output_to_single_file, + description: Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file, }, { name: "reactNamespace", type: "string", category: "Advanced", - description: Diagnostics.Specify_the_object_invoked_for_createElement_and_spread_when_targeting_react_JSX_emit + description: Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit }, { name: "skipDefaultLibCheck", type: "boolean", category: "Advanced", - description: Diagnostics.Skip_type_checking_of_default_library_declaration_files + description: Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files }, { diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 166417118cd..b487b47b106 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -2737,7 +2737,7 @@ "category": "Message", "code": 6083 }, - "Specify the object invoked for createElement and __spread when targeting 'react' JSX emit": { + "[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit": { "category": "Message", "code": 6084 }, @@ -3041,7 +3041,7 @@ "category": "Message", "code": 6159 }, - "Skip type checking of default library declaration files.": { + "[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files.": { "category": "Message", "code": 6160 }, @@ -3081,6 +3081,10 @@ "category": "Message", "code": 6169 }, + "[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file": { + "category": "Message", + "code": 6170 + }, "Variable '{0}' implicitly has an '{1}' type.": { "category": "Error",