diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index c705ac8f92c8f..345eff350521b 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -697,7 +697,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 1861fc2e5646e..6e75ea72826e0 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -6062,7 +6062,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 4fd0fed8d7d03..740a45787cc9d 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 @@ -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 diff --git a/tests/baselines/reference/tsc/commandLine/help-all.js b/tests/baselines/reference/tsc/commandLine/help-all.js index f8748d79684ec..870ed4a131e1d 100644 --- a/tests/baselines/reference/tsc/commandLine/help-all.js +++ b/tests/baselines/reference/tsc/commandLine/help-all.js @@ -146,7 +146,7 @@ Specify type package names to be included without being referenced in a source f ### JavaScript Support --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 diff --git a/tests/baselines/reference/tsc/commandLine/help.js b/tests/baselines/reference/tsc/commandLine/help.js index 67e3304223a88..fcfab2360a32a 100644 --- a/tests/baselines/reference/tsc/commandLine/help.js +++ b/tests/baselines/reference/tsc/commandLine/help.js @@ -118,7 +118,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 diff --git a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index 829577fef216a..3428608471470 100644 --- a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -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 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 829577fef216a..3428608471470 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 @@ -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