Skip to content

Commit 0aa74d1

Browse files
committed
fix(language-core): avoid yield* on strings
1 parent e40f116 commit 0aa74d1

File tree

1 file changed

+1
-1
lines changed
  • packages/language-core/lib/codegen/template

1 file changed

+1
-1
lines changed

packages/language-core/lib/codegen/template/element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function* generateComponentBody(
200200
yield `const ${functionalVar} = ${
201201
options.vueCompilerOptions.checkUnknownProps ? '__VLS_asFunctionalComponent0' : '__VLS_asFunctionalComponent1'
202202
}(${componentVar}, new ${componentVar}({${newLine}`;
203-
yield* toString(propCodes);
203+
yield toString(propCodes);
204204
yield `}))${endOfLine}`;
205205

206206
yield `const `;

0 commit comments

Comments
 (0)