Skip to content

Commit c6e18a9

Browse files
RyanCavanaughbillti
authored andcommitted
Fix case when position === 0
(cherry picked from commit 1231c9e)
1 parent f84bbcd commit c6e18a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5490,7 +5490,7 @@ namespace ts {
54905490

54915491
const nameTable = getNameTable(sourceFile);
54925492

5493-
if (lookUp(nameTable, internedName)) {
5493+
if (lookUp(nameTable, internedName) !== undefined) {
54945494
result = result || [];
54955495
getReferencesInNode(sourceFile, symbol, declaredName, node, searchMeaning, findInStrings, findInComments, result, symbolToIndex);
54965496
}

0 commit comments

Comments
 (0)