8000 Fix description of '--pretty'. · jango2015/TypeScript@a44a340 · GitHub
[go: up one dir, main page]

Skip to content

Commit a44a340

Browse files
Fix description of '--pretty'.
1 parent 38b990b commit a44a340

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ namespace ts {
154154
{
155155
name: "pretty",
156156
paramType: Diagnostics.KIND,
157-
description: Diagnostics.Stylize_errors_and_messages_using_colors_if_available_experimental,
157+
description: Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental,
158158
type: "boolean"
159159
},
160160
{

src/compiler/diagnosticMessages.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2285,8 +2285,8 @@
22852285
"Suppress excess property checks for object literals.": {
22862286
"category": "Message",
22872287
"code": 6072
2288-
},
2289-
"Stylize errors and messages using colors if available. (experimental)": {
2288+
},
2289+
"Stylize errors and messages using color and context. (experimental)": {
22902290
"category": "Message",
22912291
"code": 6073
22922292
},
@@ -2318,8 +2318,8 @@
23182318
"Argument for '--jsx' must be 'preserve' or 'react'.": {
23192319
"category": "Message",
23202320
"code": 6081
2321-
},
2322-
2321+
},
2322+
23232323
"Variable '{0}' implicitly has an '{1}' type.": {
23242324
"category": "Error",
23252325
"code": 7005

0 commit comments

Comments
 (0)
0