Skip to content

Commit

Permalink
fix(typescript-estree): allow expressions in ExportDefaultDeclaration (
Browse files Browse the repository at this point in the history
  • Loading branch information
nevir authored and bradzacher committed Jun 6, 2019
1 parent 83c1f5a commit 861844d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript-estree/src/ts-estree/ts-estree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ export interface ExportAllDeclaration extends BaseNode {

export interface ExportDefaultDeclaration extends BaseNode {
type: AST_NODE_TYPES.ExportDefaultDeclaration;
declaration: ExportDeclaration;
declaration: ExportDeclaration | Expression;
}

export interface ExportNamedDeclaration extends BaseNode {
Expand Down

0 comments on commit 861844d

Please sign in to comment.