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 ebb8490 commit 180af0bCopy full SHA for 180af0b
packages/language-core/lib/codegen/script/template.ts
@@ -39,7 +39,7 @@ export function* generateTemplate(
39
const templateUsageVars = [...getTemplateUsageVars(options, ctx)];
40
yield `// @ts-ignore${newLine}`;
41
yield `[${templateUsageVars.join(', ')}]${newLine}`;
42
- yield `return [{}, {}] as const${endOfLine}`;
+ yield `return { slots: {}, refs: {}, attrs: {} }${endOfLine}`;
43
yield `}${newLine}`;
44
}
45
0 commit comments