Skip to content

Commit b533d6e

Browse files
committed
chore: note
1 parent 52b4620 commit b533d6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/router/src/volar/entries/sfc-typed-router.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const plugin: VueLanguagePlugin<{ options?: { rootDir?: string } }> = ({
120120

121121
function getStartEnd(node: ts.Node, ast: ts.SourceFile) {
122122
return {
123+
// NOTE: internal API, used by volar
123124
start: (ts as any).getTokenPosOfNode(node, ast) as number,
124125
end: node.end,
125126
}

0 commit comments

Comments
 (0)