Skip to content

Commit eec5c81

Browse files
committed
fix: class ExportDeclaration should extend Declaration
1 parent 5ce8492 commit eec5c81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cli/src/sourcegen/decl.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ export class VariableDeclaration extends Declaration {
5050
}
5151
}
5252

53-
export class ExportDeclaration {
53+
export class ExportDeclaration extends Declaration {
5454
decl: Declaration
5555

5656
constructor (decl: Declaration) {
57+
super()
5758
this.decl = decl
5859
}
5960

0 commit comments

Comments
 (0)