mirror of https://github.com/vuejs/core.git
fix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (#11011)
This commit is contained in:
parent
530d9ec5f6
commit
5b8c1afb74
|
@ -571,7 +571,7 @@ export interface ForRenderListExpression extends CallExpression {
|
|||
}
|
||||
|
||||
export interface ForIteratorExpression extends FunctionExpression {
|
||||
returns: BlockCodegenNode
|
||||
returns?: BlockCodegenNode
|
||||
}
|
||||
|
||||
// AST Utilities ---------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue