We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ebc40 commit 13b9eaeCopy full SHA for 13b9eae
1 file changed
packages/language-core/lib/codegen/template/elementEvents.ts
@@ -58,11 +58,11 @@ export function* generateElementEvents(
58
}
59
const propName = camelize(propPrefix + source);
60
const emitName = emitPrefix + source;
61
- const key = propName + (
62
- prop.modifiers.length
63
- ? `.${prop.modifiers.map(modifier => modifier.content).join('.')}`
64
- : ''
65
- );
+ const key = [
+ prop.name,
+ propName,
+ ...prop.modifiers.map(modifier => modifier.content),
+ ].join('+');
66
67
definitions[key] ??= {
68
propPrefix,
0 commit comments