add allowJs default value description (#62611)

This commit is contained in:
Kevin Brey
2025-10-20 15:43:26 -07:00
committed by GitHub
parent 84f4856709
commit af3a3779de
7 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -699,7 +699,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
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,
defaultValueDescription: false,
defaultValueDescription: Diagnostics.false_unless_checkJs_is_set,
},
{
name: "checkJs",
+4
View File
@@ -6699,6 +6699,10 @@
"category": "Error",
"code": 6931
},
"`false`, unless `checkJs` is set": {
"category": "Message",
"code": 6932
},
"Variable '{0}' implicitly has an '{1}' type.": {
"category": "Error",
@@ -120,7 +120,7 @@ default: undefined
--allowJs
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
default: `false`, unless `checkJs` is set
--checkJs
Enable error reporting in type-checked JavaScript files.
@@ -147,7 +147,7 @@ Specify type package names to be included without being referenced in a source f
--allowJs
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
default: `false`, unless `checkJs` is set
--checkJs
Enable error reporting in type-checked JavaScript files.
@@ -119,7 +119,7 @@ default: undefined
--allowJs
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
default: `false`, unless `checkJs` is set
--checkJs
Enable error reporting in type-checked JavaScript files.
@@ -120,7 +120,7 @@ default: undefined
--allowJs
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
default: `false`, unless `checkJs` is set
--checkJs
Enable error reporting in type-checked JavaScript files.
@@ -120,7 +120,7 @@ default: undefined
--allowJs
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
type: boolean
default: false
default: `false`, unless `checkJs` is set
--checkJs
Enable error reporting in type-checked JavaScript files.