Просмотр исходного кода

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

Evan You 1 год назад
Родитель
Сommit
4ec387b100
1 измененных файлов с 1 добавлено и 0 удалено
  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,
         )
       }
     }