We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9441b3a commit b8f16aaCopy full SHA for b8f16aa
packages/language-core/lib/codegen/template/vFor.ts
@@ -52,7 +52,7 @@ export function* generateVFor(
52
}
53
let isFragment = true;
54
// children is undefined with v-once (#4827)
55
- for (const argument of node.codegenNode?.children?.arguments ?? []) {
+ for (const argument of (node.codegenNode?.children as CompilerDOM.ForRenderListExpression | undefined)?.arguments ?? []) {
56
if (
57
argument.type === CompilerDOM.NodeTypes.JS_FUNCTION_EXPRESSION
58
&& argument.returns?.type === CompilerDOM.NodeTypes.VNODE_CALL
0 commit comments