Skip to content

Commit

Permalink
refactor(nodes)!: ExportDeclaration#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 10, 2024
1 parent 7094f32 commit cfcbf73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nodes/declaration-export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import type { InternalComments } from '#internal'
import type {
AmbientDeclaration,
ClassDeclaration,
Comment,
Comments,
Expand Down Expand Up @@ -50,6 +51,7 @@ interface ExportDeclaration extends Parent {
/**
* List of children.
*
* @see {@linkcode AmbientDeclaration}
* @see {@linkcode ClassDeclaration}
* @see {@linkcode Comments}
* @see {@linkcode Comment}
Expand Down Expand Up @@ -88,7 +90,7 @@ interface ExportDeclaration extends Parent {
attributes: ImportAssertion | ImportAttributeClause
]
| [...(Comment | Decorator)[], declaration: ClassDeclaration]
| [...comments: Comments, declaration: Declaration]
| [...comments: Comments, declaration: AmbientDeclaration | Declaration]
| [...comments: Comments, right: Expression]
| [...comments: Comments, source: Identifier | StringLiteral]
| [...comments: Comments, specifiers: ExportSpecifiers]
Expand Down

0 comments on commit cfcbf73

Please sign in to comment.