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 99bbec5 commit 8ec49bbCopy full SHA for 8ec49bb
packages/compiler-sfc/src/script/resolveType.ts
@@ -728,6 +728,13 @@ function resolveTypeReference(
728
name?: string,
729
onlyExported = false,
730
): ScopeTypeNode | undefined {
731
+ if (
732
+ node.leadingComments &&
733
+ node.leadingComments.some(c => c.value.includes('@vue-ignore'))
734
+ ) {
735
+ return undefined
736
+ }
737
+
738
const canCache = !scope?.isGenericScope
739
if (canCache && node._resolvedReference) {
740
return node._resolvedReference
0 commit comments