Skip to content

Commit dfb7488

Browse files
authored
Fix capitalisation for checkJs (#61795)
1 parent efeb135 commit dfb7488

7 files changed

+7
-7
lines changed

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
697697
affectsBuildInfo: true,
698698
showInSimplifiedHelpView: true,
699699
category: Diagnostics.JavaScript_Support,
700-
description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,
700+
description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files,
701701
defaultValueDescription: false,
702702
},
703703
{

src/compiler/diagnosticMessages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6062,7 +6062,7 @@
60626062
"category": "Message",
60636063
"code": 6506
60646064
},
6065-
"Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.": {
6065+
"Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.": {
60666066
"category": "Message",
60676067
"code": 6600
60686068
},

tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
119119
default: undefined
120120

121121
--allowJs
122-
Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
122+
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
123123
type: boolean
124124
default: false
125125

tests/baselines/reference/tsc/commandLine/help-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Specify type package names to be included without being referenced in a source f
146146
### JavaScript Support
147147

148148
--allowJs
149-
Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
149+
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
150150
type: boolean
151151
default: false
152152

tests/baselines/reference/tsc/commandLine/help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
118118
default: undefined
119119

120120
--allowJs
121-
Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
121+
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
122122
type: boolean
123123
default: false
124124

tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
119119
default: undefined
120120

121121
--allowJs
122-
Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
122+
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
123123
type: boolean
124124
default: false
125125

tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021
119119
default: undefined
120120

121121
--allowJs
122-
Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
122+
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
123123
type: boolean
124124
default: false
125125

0 commit comments

Comments
 (0)