Fix case when position === 0
This commit is contained in:
parent
124bd517e7
commit
1231c9e145
1 changed files with 1 additions and 1 deletions
|
@ -5490,7 +5490,7 @@ namespace ts {
|
|||
|
||||
const nameTable = getNameTable(sourceFile);
|
||||
|
||||
if (lookUp(nameTable, internedName)) {
|
||||
if (lookUp(nameTable, internedName) !== undefined) {
|
||||
result = result || [];
|
||||
getReferencesInNode(sourceFile, symbol, declaredName, node, searchMeaning, findInStrings, findInComments, result, symbolToIndex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue