mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
add allowJs default value description (#62611)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
+1
-1
@@ -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
|
||||
[94m--allowJs[39m
|
||||
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
|
||||
|
||||
[94m--checkJs[39m
|
||||
Enable error reporting in type-checked JavaScript files.
|
||||
|
||||
@@ -119,7 +119,7 @@ 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.
|
||||
type: boolean
|
||||
default: false
|
||||
default: `false`, unless `checkJs` is set
|
||||
|
||||
[94m--checkJs[39m
|
||||
Enable error reporting in type-checked JavaScript files.
|
||||
|
||||
+1
-1
@@ -120,7 +120,7 @@ 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.
|
||||
type: boolean
|
||||
default: false
|
||||
default: `false`, unless `checkJs` is set
|
||||
|
||||
[94m--checkJs[39m
|
||||
Enable error reporting in type-checked JavaScript files.
|
||||
|
||||
+1
-1
@@ -120,7 +120,7 @@ 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.
|
||||
type: boolean
|
||||
default: false
|
||||
default: `false`, unless `checkJs` is set
|
||||
|
||||
[94m--checkJs[39m
|
||||
Enable error reporting in type-checked JavaScript files.
|
||||
|
||||
Reference in New Issue
Block a user