Skip to content

Commit eaa8990

Browse files
committed
Remove unneccessary code and finalized
1 parent e59e213 commit eaa8990

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/services/findAllReferences.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,8 +1388,6 @@ export namespace Core {
13881388
/** Only set if `options.implementations` is true. These are the symbols checked to get the implementations of a property access. */
13891389
readonly parents: readonly Symbol[] | undefined;
13901390
readonly allSearchSymbols: readonly Symbol[];
1391-
/** The node that we are searching for. This is used for searching. */
1392-
readonly node: Node | undefined;
13931391
/**
13941392
* Whether a symbol is in the search set.
13951393
* Do not compare directly to `symbol` because there may be related symbols to search for. See `populateSearchSymbolSet`.
@@ -1474,7 +1472,7 @@ export namespace Core {
14741472
} = searchOptions;
14751473
const escapedText = escapeLeadingUnderscores(text);
14761474
const parents = this.options.implementations && location ? getParentSymbolsOfPropertyAccess(location, symbol, this.checker) : undefined;
1477-
return { symbol, comingFrom, text, escapedText, parents, allSearchSymbols, node: location, includes: sym => contains(allSearchSymbols, sym) };
1475+
return { symbol, comingFrom, text, escapedText, parents, allSearchSymbols, includes: sym => contains(allSearchSymbols, sym) };
14781476
}
14791477

14801478
private readonly symbolIdToReferences: Entry[][] = [];

0 commit comments

Comments
 (0)