From ae61e8d4ec3f63d848fb8689572f8c3c9118a624 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Mon, 4 Mar 2024 15:42:52 +0900 Subject: [PATCH] fix: ESLintArrowFunctionExpression.body typing (#225) --- src/ast/nodes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast/nodes.ts b/src/ast/nodes.ts index 090f857..5ebf703 100644 --- a/src/ast/nodes.ts +++ b/src/ast/nodes.ts @@ -486,7 +486,7 @@ export interface ESLintArrowFunctionExpression extends HasLocation, HasParent { generator: boolean id: ESLintIdentifier | null params: ESLintPattern[] - body: ESLintBlockStatement + body: ESLintBlockStatement | ESLintExpression } export interface ESLintSequenceExpression extends HasLocation, HasParent {