Skip to content

Commit ad75ce7

Browse files
author
Benjamin Lichtman
committed
Update comment and remove unnecessary exprot
1 parent 306530c commit ad75ce7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/services/findAllReferences.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ namespace ts.FindAllReferences {
183183
};
184184
}
185185

186-
export function entryToDocumentSpan(entry: Entry): DocumentSpan {
186+
function entryToDocumentSpan(entry: Entry): DocumentSpan {
187187
if (entry.kind === EntryKind.Span) {
188188
return { textSpan: entry.textSpan, fileName: entry.fileName };
189189
}
@@ -1599,7 +1599,7 @@ namespace ts.FindAllReferences.Core {
15991599
}
16001600

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

0 commit comments

Comments
 (0)