Fix case when position === 0

This commit is contained in:
Ryan Cavanaugh 2016-01-28 16:05:03 -08:00
parent 124bd517e7
commit 1231c9e145

View file

@ -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);
}