|
|
@@ -1207,7 +1207,7 @@ export function compileScript(
|
|
|
checkInvalidScopeReference(propsRuntimeDecl, DEFINE_PROPS)
|
|
|
checkInvalidScopeReference(propsRuntimeDefaults, DEFINE_PROPS)
|
|
|
checkInvalidScopeReference(propsDestructureDecl, DEFINE_PROPS)
|
|
|
- checkInvalidScopeReference(emitsRuntimeDecl, DEFINE_PROPS)
|
|
|
+ checkInvalidScopeReference(emitsRuntimeDecl, DEFINE_EMITS)
|
|
|
|
|
|
// 6. remove non-script content
|
|
|
if (script) {
|