Add setting for preferring type-only imports (#196123)

This commit is contained in:
Andrew Branch
2023-10-30 13:14:58 -05:00
committed by GitHub
parent 8905246ad4
commit 82ece597ee
2 changed files with 8 additions and 0 deletions

View File

@@ -1067,6 +1067,12 @@
"markdownDescription": "%typescript.preferences.autoImportFileExcludePatterns%",
"scope": "resource"
},
"typescript.preferences.preferTypeOnlyAutoImports": {
"type": "boolean",
"default": false,
"markdownDescription": "%typescript.preferences.preferTypeOnlyAutoImports%",
"scope": "resource"
},
"javascript.preferences.renameShorthandProperties": {
"type": "boolean",
"default": true,