Skip to content

Commit

Permalink
fix(compiler-core): make ForIteratorExpression's returns property…
Browse files Browse the repository at this point in the history
… optional (#11011)
  • Loading branch information
so1ve authored May 27, 2024
1 parent 530d9ec commit 5b8c1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-core/src/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export interface ForRenderListExpression extends CallExpression {
}

export interface ForIteratorExpression extends FunctionExpression {
returns: BlockCodegenNode
returns?: BlockCodegenNode
}

// AST Utilities ---------------------------------------------------------------
Expand Down

0 comments on commit 5b8c1af

Please sign in to comment.