Skip to content

Commit

Permalink
refactor(nodes)!: ImportExpression#children
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed May 9, 2024
1 parent 779ad7f commit 90f7c6a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/nodes/expression-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {
ArgumentList,
Comments,
Data,
Expression,
ImportIdentifier,
Parent
} from '@flex-development/esast'
import type { Optional } from '@flex-development/tutils'
Expand All @@ -34,9 +34,13 @@ interface ImportExpression extends Parent {
*
* @see {@linkcode ArgumentList}
* @see {@linkcode Comments}
* @see {@linkcode Expression}
* @see {@linkcode ImportIdentifier}
*/
children: [...comments: Comments, arguments: ArgumentList]
children: [
callee: ImportIdentifier,
...comments: Comments,
arguments: ArgumentList
]

/**
* Info from the ecosystem.
Expand Down

0 comments on commit 90f7c6a

Please sign in to comment.