Skip to content

Fix capitalisation for checkJs #61795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 29, 2025
Merged
2 changes: 1 addition & 1 deletion src/compiler/commandLineParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/tsc/commandLine/help-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/tsc/commandLine/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down