Skip to content

Commit 5b8c1af

Browse files
authored
fix(compiler-core): make ForIteratorExpression's returns property optional (#11011)
1 parent 530d9ec commit 5b8c1af

File tree

1 file changed

+1
-1
lines changed
  • packages/compiler-core/src

1 file changed

+1
-1
lines changed

packages/compiler-core/src/ast.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ export interface ForRenderListExpression extends CallExpression {
571571
}
572572

573573
export interface ForIteratorExpression extends FunctionExpression {
574-
returns: BlockCodegenNode
574+
returns?: BlockCodegenNode
575575
}
576576

577577
// AST Utilities ---------------------------------------------------------------

0 commit comments

Comments
 (0)