We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6283b2e commit f2c48f5Copy full SHA for f2c48f5
packages/compiler-sfc/src/compileScript.ts
@@ -1207,7 +1207,7 @@ export function compileScript(
1207
checkInvalidScopeReference(propsRuntimeDecl, DEFINE_PROPS)
1208
checkInvalidScopeReference(propsRuntimeDefaults, DEFINE_PROPS)
1209
checkInvalidScopeReference(propsDestructureDecl, DEFINE_PROPS)
1210
- checkInvalidScopeReference(emitsRuntimeDecl, DEFINE_PROPS)
+ checkInvalidScopeReference(emitsRuntimeDecl, DEFINE_EMITS)
1211
1212
// 6. remove non-script content
1213
if (script) {
0 commit comments