Fix case when position === 0

(cherry picked from commit 1231c9e145)
This commit is contained in:
Ryan Cavanaugh authored and Bill Ticehurst committed 2016-02-04 11:28:37 -08:00
1 parent f84bbcdf59
commit c6e18a9fcf
1 file changed
+1 -1
+1 -1
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);
}