From b6475d0f36a0476d95f1a0749f9db33b5aa73ecf Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Fri, 23 Aug 2024 04:49:22 +0900 Subject: [PATCH] chore: update config-file.v1.json (#25163) --- cli/schemas/config-file.v1.json | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 733a9cab60..cc2c1eb6ff 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" } } },