diff --git a/extensions/typescript-language-features/src/languageFeatures/workspaceSymbols.ts b/extensions/typescript-language-features/src/languageFeatures/workspaceSymbols.ts index 43e4c3a5f384e..98995cc6baa17 100644 --- a/extensions/typescript-language-features/src/languageFeatures/workspaceSymbols.ts +++ b/extensions/typescript-language-features/src/languageFeatures/workspaceSymbols.ts @@ -89,7 +89,7 @@ class TypeScriptWorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvide } private toSymbolInformation(item: Proto.NavtoItem): vscode.SymbolInformation | undefined { - if (!item.containerName || item.kind === 'alias') { + if (item.kind === 'alias' && !item.containerName) { return; }