Skip to content

Commit

Permalink
Update comment and remove unnecessary exprot
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Lichtman committed Jan 15, 2019
1 parent 306530c commit ad75ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/findAllReferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ namespace ts.FindAllReferences {
};
}

export function entryToDocumentSpan(entry: Entry): DocumentSpan {
function entryToDocumentSpan(entry: Entry): DocumentSpan {
if (entry.kind === EntryKind.Span) {
return { textSpan: entry.textSpan, fileName: entry.fileName };
}
Expand Down Expand Up @@ -1599,7 +1599,7 @@ namespace ts.FindAllReferences.Core {
}

Debug.assert(isForRenamePopulateSearchSymbolSet);
// due to the above assert and the arguments to the caller,
// due to the above assert and the arguments at the uses of this function,
// (onlyIncludeBindingElementAtReferenceLocation <=> !providePrefixAndSuffixTextForRename) holds
const includeOriginalSymbolOfBindingElement = onlyIncludeBindingElementAtReferenceLocation;

Expand Down

0 comments on commit ad75ce7

Please sign in to comment.