Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 95deb63

Browse files
committedJun 19, 2024·
format
1 parent 840334b commit 95deb63

File tree

1 file changed

+4
-1
lines changed
  • packages/language-server/src/plugins/typescript/features

1 file changed

+4
-1
lines changed
 

‎packages/language-server/src/plugins/typescript/features/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ export function getComponentAtPosition(
5050
doc.positionAt(node.start + symbolPosWithinNode + 1)
5151
);
5252

53-
const def = lang.getDefinitionAtPosition(tsDoc.filePath, tsDoc.offsetAt(generatedPosition))?.[0];
53+
const def = lang.getDefinitionAtPosition(
54+
tsDoc.filePath,
55+
tsDoc.offsetAt(generatedPosition)
56+
)?.[0];
5457
if (!def) {
5558
return null;
5659
}

0 commit comments

Comments
 (0)
Please sign in to comment.