Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

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

Lines changed: 1 addition & 1 deletion
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)