diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index b39a802a0b5..f4de5c430ac 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -154,7 +154,7 @@ namespace ts { { name: "pretty", paramType: Diagnostics.KIND, - description: Diagnostics.Stylize_errors_and_messages_using_colors_if_available_experimental, + description: Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental, type: "boolean" }, { diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 401cbaf8dda..e6008ce3c1e 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -2285,8 +2285,8 @@ "Suppress excess property checks for object literals.": { "category": "Message", "code": 6072 - }, - "Stylize errors and messages using colors if available. (experimental)": { + }, + "Stylize errors and messages using color and context. (experimental)": { "category": "Message", "code": 6073 }, @@ -2318,8 +2318,8 @@ "Argument for '--jsx' must be 'preserve' or 'react'.": { "category": "Message", "code": 6081 - }, - + }, + "Variable '{0}' implicitly has an '{1}' type.": { "category": "Error", "code": 7005