We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf6b6a commit f11c429Copy full SHA for f11c429
packages/typescript-plugin/src/language-service/find-references.ts
@@ -24,7 +24,10 @@ function _decorateFindReferences(
24
?.map((reference) => {
25
const snapshot = snapshotManager.get(reference.definition.fileName);
26
if (!isSvelteFilePath(reference.definition.fileName) || !snapshot) {
27
- return reference;
+ return {
28
+ ...reference,
29
+ references: mapReferences(reference.references, snapshotManager, logger)
30
+ };
31
}
32
33
const textSpan = snapshot.getOriginalTextSpan(reference.definition.textSpan);
0 commit comments