Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/services/completions.ts
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
  • Loading branch information
JoshuaKGoldberg and RyanCavanaugh authored Apr 4, 2023
commit 119a10b83c7e86fa252b34766703110e6b470b92
2 changes: 1 addition & 1 deletion src/services/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2084,7 +2084,7 @@ export function getCompletionEntriesFromSymbols(
continue;
}

if (!isTypeOnlyLocation && isInJSFile(sourceFile) && !symbolHasValueDeclaration(symbol)) {
if (!isTypeOnlyLocation && isInJSFile(sourceFile) && symbol.flags & SymbolFlags.Value) {
continue;
}

Expand Down