mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix preferTypeOnlyAutoImports preference getter (#201376)
This commit is contained in:
parent
0a08e6fdcd
commit
a1cfe91f9c
|
@ -192,7 +192,7 @@ export default class FileConfigurationManager extends Disposable {
|
|||
includeCompletionsWithObjectLiteralMethodSnippets: config.get<boolean>('suggest.objectLiteralMethodSnippets.enabled', true),
|
||||
autoImportFileExcludePatterns: this.getAutoImportFileExcludePatternsPreference(preferencesConfig, vscode.workspace.getWorkspaceFolder(document.uri)?.uri),
|
||||
// @ts-expect-error until 5.3 #56090
|
||||
preferTypeOnlyAutoImports: config.get<boolean>('preferTypeOnlyAutoImports', false),
|
||||
preferTypeOnlyAutoImports: preferencesConfig.get<boolean>('preferTypeOnlyAutoImports', false),
|
||||
useLabelDetailsInCompletionEntries: true,
|
||||
allowIncompleteCompletions: true,
|
||||
displayPartsForJSDoc: true,
|
||||
|
|
Loading…
Reference in a new issue