summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-08-23 04:49:22 +0900
committerGitHub <noreply@github.com>2024-08-22 19:49:22 +0000
commitb6475d0f36a0476d95f1a0749f9db33b5aa73ecf (patch)
tree6f0d425a7f692e98733b257e9fa4cf82d96c0f67 /cli/schemas
parentef1294e4e5beb68676ba64a6c3a44ff0a277e68a (diff)
chore: update config-file.v1.json (#25163)
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json22
1 files changed, 17 insertions, 5 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 733a9cab6..cc2c1eb6f 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -41,10 +41,10 @@
"markdownDescription": "Differentiate between undefined and not present when type checking\n\nSee more: https://www.typescriptlang.org/tsconfig#exactOptionalPropertyTypes"
},
"experimentalDecorators": {
- "description": "Enable experimental support for TC39 stage 2 draft decorators.",
+ "description": "Enable experimental support for legacy experimental decorators.",
"type": "boolean",
- "default": true,
- "markdownDescription": "Enable experimental support for TC39 stage 2 draft decorators.\n\nSee more: https://www.typescriptlang.org/tsconfig#experimentalDecorators"
+ "default": false,
+ "markdownDescription": "Enable experimental support for legacy experimental decorators.\n\nSee more: https://www.typescriptlang.org/tsconfig#experimentalDecorators"
},
"jsx": {
"description": "Specify what JSX code is generated.",
@@ -119,10 +119,10 @@
"markdownDescription": "Enable error reporting for fallthrough cases in switch statements.\n\nSee more: https://www.typescriptlang.org/tsconfig#noFallthroughCasesInSwitch"
},
"noImplicitAny": {
- "description": "Enable error reporting for expressions and declarations with an implied `any` type..",
+ "description": "Enable error reporting for expressions and declarations with an implied `any` type.",
"type": "boolean",
"default": true,
- "markdownDescription": "Enable error reporting for expressions and declarations with an implied `any` type..\n\nSee more: https://www.typescriptlang.org/tsconfig#noImplicitAny"
+ "markdownDescription": "Enable error reporting for expressions and declarations with an implied `any` type.\n\nSee more: https://www.typescriptlang.org/tsconfig#noImplicitAny"
},
"noImplicitOverride": {
"description": "Ensure overriding members in derived classes are marked with an override modifier.",
@@ -148,6 +148,12 @@
"default": true,
"markdownDescription": "Disable adding 'use strict' directives in emitted JavaScript files.\n\nSee more: https://www.typescriptlang.org/tsconfig#noImplicitUseStrict"
},
+ "noPropertyAccessFromIndexSignature": {
+ "description": "Enforces using indexed accessors for keys declared using an indexed type.",
+ "type": "boolean",
+ "default": false,
+ "markdownDescription": "Enforces using indexed accessors for keys declared using an indexed type.\n\nSee more: https://www.typescriptlang.org/tsconfig#noPropertyAccessFromIndexSignature"
+ },
"noStrictGenericChecks": {
"description": "Disable strict checking of generic signatures in function types.",
"type": "boolean",
@@ -213,6 +219,12 @@
"type": "boolean",
"default": false,
"markdownDescription": "Suppress `noImplicitAny` errors when indexing objects that lack index signatures.\n\nSee more: https://www.typescriptlang.org/tsconfig#suppressImplicitAnyIndexErrors"
+ },
+ "useUnknownInCatchVariables": {
+ "description": "Default catch clause variables as `unknown` instead of `any`.",
+ "type": "boolean",
+ "default": false,
+ "markdownDescription": "Default catch clause variables as `unknown` instead of `any`.\n\nSee more: https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables"
}
}
},