Update importModuleSpecifierEnding to mention .ts (#180349)

Makes the `importModuleSpecifierEnding` settings mention that it can include `.js` or `.ts`
This commit is contained in:
Matt Bierner 2023-04-19 11:43:53 -07:00 committed by GitHub
parent b1bfb0f471
commit 6a9c24cbd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -895,6 +895,12 @@
"index",
"js"
],
"enumItemLabels": [
null,
null,
null,
"%typescript.preferences.importModuleSpecifierEnding.label.js%"
],
"markdownEnumDescriptions": [
"%typescript.preferences.importModuleSpecifierEnding.auto%",
"%typescript.preferences.importModuleSpecifierEnding.minimal%",
@ -913,6 +919,12 @@
"index",
"js"
],
"enumItemLabels": [
"%typescript.preferences.importModuleSpecifierEnding.label.auto%",
"%typescript.preferences.importModuleSpecifierEnding.label.minimal%",
"%typescript.preferences.importModuleSpecifierEnding.label.index%",
"%typescript.preferences.importModuleSpecifierEnding.label.js%"
],
"markdownEnumDescriptions": [
"%typescript.preferences.importModuleSpecifierEnding.auto%",
"%typescript.preferences.importModuleSpecifierEnding.minimal%",

View file

@ -124,10 +124,11 @@
"typescript.preferences.importModuleSpecifier.nonRelative": "Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
"typescript.preferences.importModuleSpecifier.projectRelative": "Prefers a non-relative import only if the relative import path would leave the package or project directory.",
"typescript.preferences.importModuleSpecifierEnding": "Preferred path ending for auto imports.",
"typescript.preferences.importModuleSpecifierEnding.label.js": ".js / .ts",
"typescript.preferences.importModuleSpecifierEnding.auto": "Use project settings to select a default.",
"typescript.preferences.importModuleSpecifierEnding.minimal": "Shorten `./component/index.js` to `./component`.",
"typescript.preferences.importModuleSpecifierEnding.index": "Shorten `./component/index.js` to `./component/index`.",
"typescript.preferences.importModuleSpecifierEnding.js": "Do not shorten path endings; include the `.js` extension.",
"typescript.preferences.importModuleSpecifierEnding.js": "Do not shorten path endings; include the `.js` or `.ts` extension.",
"typescript.preferences.jsxAttributeCompletionStyle": "Preferred style for JSX attribute completions.",
"javascript.preferences.jsxAttributeCompletionStyle.auto": "Insert `={}` or `=\"\"` after attribute names based on the prop type. See `javascript.preferences.quoteStyle` to control the type of quotes used for string attributes.",
"typescript.preferences.jsxAttributeCompletionStyle.auto": "Insert `={}` or `=\"\"` after attribute names based on the prop type. See `typescript.preferences.quoteStyle` to control the type of quotes used for string attributes.",