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,
|
"order": 20,
|
||||||
"properties": {
|
"properties": {
|
||||||
"typescript.tsdk": {
|
"typescript.tsdk": {
|
||||||
"type": [
|
"type": "string",
|
||||||
"string",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"default": null,
|
|
||||||
"markdownDescription": "%typescript.tsdk.desc%",
|
"markdownDescription": "%typescript.tsdk.desc%",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
|
@ -163,11 +159,7 @@
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"typescript.npm": {
|
"typescript.npm": {
|
||||||
"type": [
|
"type": "string",
|
||||||
"string",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"default": null,
|
|
||||||
"markdownDescription": "%typescript.npm%",
|
"markdownDescription": "%typescript.npm%",
|
||||||
"scope": "machine"
|
"scope": "machine"
|
||||||
},
|
},
|
||||||
|
@ -751,10 +743,7 @@
|
||||||
"scope": "resource"
|
"scope": "resource"
|
||||||
},
|
},
|
||||||
"typescript.locale": {
|
"typescript.locale": {
|
||||||
"type": [
|
"type": "string",
|
||||||
"string",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"enum": [
|
"enum": [
|
||||||
"de",
|
"de",
|
||||||
"es",
|
"es",
|
||||||
|
@ -765,10 +754,8 @@
|
||||||
"ko",
|
"ko",
|
||||||
"ru",
|
"ru",
|
||||||
"zh-CN",
|
"zh-CN",
|
||||||
"zh-TW",
|
"zh-TW"
|
||||||
null
|
|
||||||
],
|
],
|
||||||
"default": null,
|
|
||||||
"markdownDescription": "%typescript.locale%",
|
"markdownDescription": "%typescript.locale%",
|
||||||
"scope": "window"
|
"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.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.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.",
|
"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.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.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.",
|
"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