Update dependencies (#8364)

This commit is contained in:
dnalborczyk
2018-08-17 11:26:25 -04:00
committed by Brian Ng
parent 0136a26af7
commit ab8555a867
4 changed files with 541 additions and 522 deletions

View File

@@ -1539,11 +1539,13 @@ export default (superClass: Class<Parser>): Class<Parser> =>
// export default interface allowed in:
// https://github.com/Microsoft/TypeScript/pull/16040
if (this.state.value === "interface") {
return this.tsParseDeclaration(
const result = this.tsParseDeclaration(
this.startNode(),
this.state.value,
true,
);
if (result) return result;
}
return super.parseExportDefaultExpression();