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 (vuejs#11011)
  • Loading branch information
so1ve authored and lynxlangya committed May 30, 2024
1 parent 245d0bf commit 69d311c
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 69d311c

Please sign in to comment.