diff --git a/packages/language-core/lib/codegen/template/elementEvents.ts b/packages/language-core/lib/codegen/template/elementEvents.ts index 092ba4ad57..2184c7aa3e 100644 --- a/packages/language-core/lib/codegen/template/elementEvents.ts +++ b/packages/language-core/lib/codegen/template/elementEvents.ts @@ -17,7 +17,7 @@ export function* generateElementEvents( componentInstanceVar: string, emitVar: string, eventsVar: string -): Generator { +): Generator { let usedComponentEventsVar = false; let propsVar: string | undefined; for (const prop of node.props) {