diff --git a/extensions/typescript-language-features/package.json b/extensions/typescript-language-features/package.json index 8d361da9a69..f396519317f 100644 --- a/extensions/typescript-language-features/package.json +++ b/extensions/typescript-language-features/package.json @@ -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" }, diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json index ad5a9473440..3c5c9053475 100644 --- a/extensions/typescript-language-features/package.nls.json +++ b/extensions/typescript-language-features/package.nls.json @@ -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.",