diff --git a/src/parser/statement.js b/src/parser/statement.js index a0050cc2d0..1d5f112ab9 100644 --- a/src/parser/statement.js +++ b/src/parser/statement.js @@ -838,7 +838,9 @@ pp.parseExportDeclaration = function () { pp.isExportDefaultSpecifier = function () { if (this.match(tt.name)) { - return this.state.value !== "type" && this.state.value !== "async"; + return this.state.value !== "type" + && this.state.value !== "async" + && this.state.value !== "interface"; } if (!this.match(tt._default)) {