From 4577bd1b7c9f0c13a364cec4210e5f9ffda14c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Wed, 23 Aug 2017 05:11:02 +0200 Subject: [PATCH] TypeParameterInstantiation params can be "Flow" nodes, not "FlowType" (#6140) --- packages/babel-types/src/definitions/tsFlowCommon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-types/src/definitions/tsFlowCommon.js b/packages/babel-types/src/definitions/tsFlowCommon.js index ee45f78075..ef2e76f0b2 100644 --- a/packages/babel-types/src/definitions/tsFlowCommon.js +++ b/packages/babel-types/src/definitions/tsFlowCommon.js @@ -25,7 +25,7 @@ defineType("TypeParameterInstantiation", { params: { validate: chain( assertValueType("array"), - assertEach(assertNodeType("TSType", "FlowType")), + assertEach(assertNodeType("TSType", "Flow")), ), }, },