Skip to content

Commit ae61e8d

Browse files
authored
fix: ESLintArrowFunctionExpression.body typing (#225)
1 parent dbeb73b commit ae61e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast/nodes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export interface ESLintArrowFunctionExpression extends HasLocation, HasParent {
486486
generator: boolean
487487
id: ESLintIdentifier | null
488488
params: ESLintPattern[]
489-
body: ESLintBlockStatement
489+
body: ESLintBlockStatement | ESLintExpression
490490
}
491491

492492
export interface ESLintSequenceExpression extends HasLocation, HasParent {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy