Przeglądaj źródła

fix(compiler-sfc): fix missing scope for extends error message

Evan You 1 rok temu
rodzic
commit
4ec387b100
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      packages/compiler-sfc/src/script/resolveType.ts

+ 1 - 0
packages/compiler-sfc/src/script/resolveType.ts

@@ -439,6 +439,7 @@ function resolveInterfaceMembers(
             `Note: both in 3.2 or with the ignore, the properties in the base ` +
             `type are treated as fallthrough attrs at runtime.`,
           ext,
+          scope,
         )
       }
     }