diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts
index dd861e653acd8..ff19e1e54f62f 100644
--- a/src/compiler/commandLineParser.ts
+++ b/src/compiler/commandLineParser.ts
@@ -696,7 +696,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
affectsBuildInfo: true,
showInSimplifiedHelpView: true,
category: Diagnostics.JavaScript_Support,
- description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,
+ description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files,
defaultValueDescription: false,
},
{
diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json
index fad4ba72a5569..1ff391329c055 100644
--- a/src/compiler/diagnosticMessages.json
+++ b/src/compiler/diagnosticMessages.json
@@ -6058,7 +6058,7 @@
"category": "Message",
"code": 6506
},
- "Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.": {
+ "Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.": {
"category": "Message",
"code": 6600
},
diff --git a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js
index e97e301b9a84e..450617ed69813 100644
--- a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js
+++ b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js
@@ -1,6 +1,6 @@
-currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
-Input::
-//// [/home/src/tslibs/TS/Lib/lib.d.ts]
+currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
+Input::
+//// [/home/src/tslibs/TS/Lib/lib.d.ts]
///
interface Boolean {}
interface Function {}
@@ -13,11 +13,11 @@ interface RegExp {}
interface String { charAt: any; }
interface Array { length: number; [n: number]: T; }
interface ReadonlyArray {}
-declare const console: { log(msg: any): void; };
-
-
-/home/src/tslibs/TS/Lib/tsc.js
-Output::
+declare const console: { log(msg: any): void; };
+
+
+/home/src/tslibs/TS/Lib/tsc.js
+Output::
Version FakeTSVersion
tsc: The TypeScript Compiler - Version FakeTSVersion
@@ -119,7 +119,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
default: undefined
--allowJs
-Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
+Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
@@ -159,7 +159,7 @@ default: false
You can learn about all of the compiler options at https://aka.ms/tsc
-
-
-
-exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
+
+
+
+exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
diff --git a/tests/baselines/reference/tsc/commandLine/help-all.js b/tests/baselines/reference/tsc/commandLine/help-all.js
index b5fada38c18e6..bac5dc0cd3704 100644
--- a/tests/baselines/reference/tsc/commandLine/help-all.js
+++ b/tests/baselines/reference/tsc/commandLine/help-all.js
@@ -1,6 +1,6 @@
-currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
-Input::
-//// [/home/src/tslibs/TS/Lib/lib.d.ts]
+currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
+Input::
+//// [/home/src/tslibs/TS/Lib/lib.d.ts]
///
interface Boolean {}
interface Function {}
@@ -13,11 +13,11 @@ interface RegExp {}
interface String { charAt: any; }
interface Array { length: number; [n: number]: T; }
interface ReadonlyArray {}
-declare const console: { log(msg: any): void; };
-
-
-/home/src/tslibs/TS/Lib/tsc.js --help --all
-Output::
+declare const console: { log(msg: any): void; };
+
+
+/home/src/tslibs/TS/Lib/tsc.js --help --all
+Output::
tsc: The TypeScript Compiler - Version FakeTSVersion
[1mALL COMPILER OPTIONS[22m
@@ -146,7 +146,7 @@ Specify type package names to be included without being referenced in a source f
### JavaScript Support
[94m--allowJs[39m
-Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
+Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
@@ -688,7 +688,7 @@ Delete the outputs of all projects.
[94m--stopBuildOnErrors[39m
Skip building downstream projects on error in upstream project.
-
-
-
-exitCode:: ExitStatus.Success
+
+
+
+exitCode:: ExitStatus.Success
diff --git a/tests/baselines/reference/tsc/commandLine/help.js b/tests/baselines/reference/tsc/commandLine/help.js
index a254cdc62d1d5..f452184bcecc8 100644
--- a/tests/baselines/reference/tsc/commandLine/help.js
+++ b/tests/baselines/reference/tsc/commandLine/help.js
@@ -1,6 +1,6 @@
-currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
-Input::
-//// [/home/src/tslibs/TS/Lib/lib.d.ts]
+currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
+Input::
+//// [/home/src/tslibs/TS/Lib/lib.d.ts]
///
interface Boolean {}
interface Function {}
@@ -13,11 +13,11 @@ interface RegExp {}
interface String { charAt: any; }
interface Array { length: number; [n: number]: T; }
interface ReadonlyArray {}
-declare const console: { log(msg: any): void; };
-
-
-/home/src/tslibs/TS/Lib/tsc.js --help
-Output::
+declare const console: { log(msg: any): void; };
+
+
+/home/src/tslibs/TS/Lib/tsc.js --help
+Output::
tsc: The TypeScript Compiler - Version FakeTSVersion
[1mCOMMON COMMANDS[22m
@@ -118,7 +118,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
default: undefined
[94m--allowJs[39m
-Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
+Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
@@ -158,7 +158,7 @@ default: false
You can learn about all of the compiler options at https://aka.ms/tsc
-
-
-
-exitCode:: ExitStatus.Success
+
+
+
+exitCode:: ExitStatus.Success
diff --git a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js
index 55da16f6b7921..f32ee51816e13 100644
--- a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js
+++ b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js
@@ -1,6 +1,6 @@
-currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
-Input::
-//// [/home/src/tslibs/TS/Lib/lib.d.ts]
+currentDirectory:: /home/src/workspaces/project useCaseSensitiveFileNames:: false
+Input::
+//// [/home/src/tslibs/TS/Lib/lib.d.ts]
///
interface Boolean {}
interface Function {}
@@ -13,11 +13,11 @@ interface RegExp {}
interface String { charAt: any; }
interface Array { length: number; [n: number]: T; }
interface ReadonlyArray {}
-declare const console: { log(msg: any): void; };
-
-
-/home/src/tslibs/TS/Lib/tsc.js
-Output::
+declare const console: { log(msg: any): void; };
+
+
+/home/src/tslibs/TS/Lib/tsc.js
+Output::
Version FakeTSVersion
tsc: The TypeScript Compiler - Version FakeTSVersion
@@ -119,7 +119,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
default: undefined
[94m--allowJs[39m
-Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
+Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
@@ -159,7 +159,7 @@ default: false
You can learn about all of the compiler options at https://aka.ms/tsc
-
-
-
-exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
+
+
+
+exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped