summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorscarf <greenscarf005@gmail.com>2023-06-30 05:20:24 +0900
committerGitHub <noreply@github.com>2023-06-29 16:20:24 -0400
commit09af1a5fef9d6c9e2c1b50484701b1cfd7c7e938 (patch)
tree126627e335d5abac4efcaaf7dea3c998d32f91a1 /cli/schemas
parentfbb69329343c9985c26181e6297e6556c46d381d (diff)
fix: add `exactOptionalPropertyTypes` for configuration file JSON schema (#19647)
- fixes #19646 lines copied from: https://github.com/SchemaStore/schemastore/blob/8513fdcc29f89a3b864bd712e6fdd78a6691884f/src/schemas/json/tsconfig.json#L281-L286
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 73723c52b..a4a4e881e 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -34,6 +34,12 @@
"default": false,
"markdownDescription": "Enable error reporting in type-checked JavaScript files.\n\nSee more: https://www.typescriptlang.org/tsconfig#checkJs"
},
+ "exactOptionalPropertyTypes": {
+ "description": "Differentiate between undefined and not present when type checking",
+ "type": "boolean",
+ "default": false,
+ "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.",
"type": "boolean",