File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,7 @@ export type ESLintExpression =
348348 | ESLintMetaProperty
349349 | ESLintIdentifier
350350 | ESLintAwaitExpression
351+ | ESLintChainExpression
351352
352353export interface ESLintIdentifier extends HasLocation , HasParent {
353354 type : "Identifier"
@@ -493,6 +494,7 @@ export interface ESLintConditionalExpression extends HasLocation, HasParent {
493494
494495export interface ESLintCallExpression extends HasLocation , HasParent {
495496 type : "CallExpression"
497+ optional : boolean
496498 callee : ESLintExpression | ESLintSuper
497499 arguments : ( ESLintExpression | ESLintSpreadElement ) [ ]
498500}
@@ -509,6 +511,7 @@ export interface ESLintNewExpression extends HasLocation, HasParent {
509511
510512export interface ESLintMemberExpression extends HasLocation , HasParent {
511513 type : "MemberExpression"
514+ optional : boolean
512515 computed : boolean
513516 object : ESLintExpression | ESLintSuper
514517 property : ESLintExpression
@@ -604,6 +607,11 @@ export interface ESLintAssignmentPattern extends HasLocation, HasParent {
604607 right : ESLintExpression
605608}
606609
610+ export interface ESLintChainExpression extends HasLocation , HasParent {
611+ type : "ChainExpression"
612+ expression : ESLintExpression
613+ }
614+
607615/**
608616 * Legacy for babel-eslint and espree.
609617 */
You can’t perform that action at this time.
0 commit comments