Don't use | null
for ts config
Fixes #129794 Just fall back to undefined instead
This commit is contained in:
parent
30b8ca03bc
commit
67ea45c3e0
|
@ -139,11 +139,7 @@
|
|||
"order": 20,
|
||||
"properties": {
|
||||
"typescript.tsdk": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"default": null,
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.tsdk.desc%",
|
||||
"scope": "window"
|
||||
},
|
||||
|
@ -163,11 +159,7 @@
|
|||
"scope": "window"
|
||||
},
|
||||
"typescript.npm": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"default": null,
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.npm%",
|
||||
"scope": "machine"
|
||||
},
|
||||
|
@ -751,10 +743,7 @@
|
|||
"scope": "resource"
|
||||
},
|
||||
"typescript.locale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"de",
|
||||
"es",
|
||||
|
@ -765,10 +754,8 @@
|
|||
"ko",
|
||||
"ru",
|
||||
"zh-CN",
|
||||
"zh-TW",
|
||||
null
|
||||
"zh-TW"
|
||||
],
|
||||
"default": null,
|
||||
"markdownDescription": "%typescript.locale%",
|
||||
"scope": "window"
|
||||
},
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
"configuration.tsserver.useSeparateSyntaxServer": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols. Requires using TypeScript 3.4.0 or newer in the workspace.",
|
||||
"configuration.tsserver.maxTsServerMemory": "The maximum amount of memory (in MB) to allocate to the TypeScript server process.",
|
||||
"configuration.tsserver.experimental.enableProjectDiagnostics": "(Experimental) Enables project wide error reporting.",
|
||||
"typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Default of `null` uses VS Code's locale.",
|
||||
"typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VS Code's locale.",
|
||||
"configuration.implicitProjectConfig.checkJs": "Enable/disable semantic checking of JavaScript files. Existing `jsconfig.json` or `tsconfig.json` files override this setting.",
|
||||
"configuration.javascript.checkJs.checkJs.deprecation": "This setting has been deprecated in favor of `js/ts.implicitProjectConfig.checkJs`.",
|
||||
"configuration.implicitProjectConfig.experimentalDecorators": "Enable/disable `experimentalDecorators` in JavaScript files that are not part of a project. Existing `jsconfig.json` or `tsconfig.json` files override this setting.",
|
||||
|
|
Loading…
Reference in a new issue