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 20c018b commit 7845e32Copy full SHA for 7845e32
packages/router/src/volar/entries/sfc-typed-router.ts
@@ -62,7 +62,7 @@ const plugin: VueLanguagePlugin<{ options: { rootDir?: string } }> = ({
62
if (
63
ts.isCallExpression(node) &&
64
ts.isIdentifier(node.expression) &&
65
- node.expression.text === 'useRoute' &&
+ ts.idText(node.expression) === 'useRoute' &&
66
!node.typeArguments &&
67
!node.arguments.length
68
) {
0 commit comments