From: Ray Date: Mon, 27 May 2024 08:15:54 +0000 (+0800) Subject: fix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (... X-Git-Tag: v3.4.28~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b8c1afb74e39045fcb53a011420d26e3f67eab4;p=thirdparty%2Fvuejs%2Fcore.git fix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (#11011) --- diff --git a/packages/compiler-core/src/ast.ts b/packages/compiler-core/src/ast.ts index 3f92a99fcb..91354b1b40 100644 --- a/packages/compiler-core/src/ast.ts +++ b/packages/compiler-core/src/ast.ts @@ -571,7 +571,7 @@ export interface ForRenderListExpression extends CallExpression { } export interface ForIteratorExpression extends FunctionExpression { - returns: BlockCodegenNode + returns?: BlockCodegenNode } // AST Utilities ---------------------------------------------------------------