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 52b4620 commit b533d6eCopy full SHA for b533d6e
packages/router/src/volar/entries/sfc-typed-router.ts
@@ -120,6 +120,7 @@ const plugin: VueLanguagePlugin<{ options?: { rootDir?: string } }> = ({
120
121
function getStartEnd(node: ts.Node, ast: ts.SourceFile) {
122
return {
123
+ // NOTE: internal API, used by volar
124
start: (ts as any).getTokenPosOfNode(node, ast) as number,
125
end: node.end,
126
}
0 commit comments