Skip to content

Commit

Permalink
chore(nodes): [CallExpression] cleanup callee union
Browse files Browse the repository at this point in the history
- `Super` is included in `Expression` union

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed May 9, 2024
1 parent 2389d3c commit 779ad7f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nodes/expression-call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import type {
Data,
Expression,
Parent,
Super,
TypeArgumentList
} from '@flex-development/esast'
import type { Optional } from '@flex-development/tutils'
Expand Down Expand Up @@ -38,17 +37,16 @@ interface CallExpression extends Parent {
* @see {@linkcode ArgumentList}
* @see {@linkcode Comments}
* @see {@linkcode Expression}
* @see {@linkcode Super}
* @see {@linkcode TypeArgumentList}
*/
children:
| [
callee: Expression | Super,
callee: Expression,
...comments: Comments,
arguments: ArgumentList
]
| [
callee: Expression | Super,
callee: Expression,
...comments: Comments,
typeArguments: TypeArgumentList,
...comments: InternalComments,
Expand Down

0 comments on commit 779ad7f

Please sign in to comment.