We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 410f929 commit b43708eCopy full SHA for b43708e
packages/language-core/lib/codegen/script/template.ts
@@ -175,9 +175,9 @@ function* generateTemplateBody(
175
yield `// no template${newLine}`;
176
if (!options.scriptSetupRanges?.slots.define) {
177
yield `const __VLS_slots = {}${endOfLine}`;
178
- yield `const $refs = {}${endOfLine}`;
179
- yield `const __VLS_inheritedAttrs = {}${endOfLine}`;
180
}
+ yield `const $refs = {}${endOfLine}`;
+ yield `const __VLS_inheritedAttrs = {}${endOfLine}`;
181
182
183
yield `return {${newLine}`;
0 commit comments