From 5db4cc21a35b00bd7975df221f56aff13621fcfa Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Sat, 9 Jun 2018 17:03:50 -0500 Subject: [PATCH] flow-parser@0.74.0 (#4649) --- package.json | 2 +- src/language-js/printer-estree.js | 1 - yarn.lock | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 917f00b54b0f..00fb565404df 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "esutils": "2.0.2", "find-parent-dir": "0.3.0", "find-project-root": "1.1.1", - "flow-parser": "0.73.0", + "flow-parser": "0.74.0", "get-stream": "3.0.0", "globby": "6.1.0", "graphql": "0.13.2", diff --git a/src/language-js/printer-estree.js b/src/language-js/printer-estree.js index 8c4faea4f1c6..78c5210b29c9 100644 --- a/src/language-js/printer-estree.js +++ b/src/language-js/printer-estree.js @@ -2501,7 +2501,6 @@ function printPathNoParens(path, options, print, args) { case "DeclareInterface": case "InterfaceDeclaration": - case "InterfaceType": case "InterfaceTypeAnnotation": { if ( n.type === "DeclareInterface" || diff --git a/yarn.lock b/yarn.lock index 3f0af11d2fbb..e456d6281adb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2357,9 +2357,9 @@ flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" -flow-parser@0.73.0: - version "0.73.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.73.0.tgz#525ac0776f743e16b6dca1a3dd6c602260b15773" +flow-parser@0.74.0: + version "0.74.0" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.74.0.tgz#4acc8f55bdce5fa4da43c72c28ef8a9600ace87c" for-in@^1.0.1, for-in@^1.0.2: version "1.0.2"