Browse Source

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

Evan You 2 năm trước cách đây
mục cha
commit
4ec387b100

+ 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 ` +
             `Note: both in 3.2 or with the ignore, the properties in the base ` +
             `type are treated as fallthrough attrs at runtime.`,
             `type are treated as fallthrough attrs at runtime.`,
           ext,
           ext,
+          scope,
         )
         )
       }
       }
     }
     }