TypeParameterInstantiation params can be "Flow" nodes, not "FlowType" (#6140)

This commit is contained in:
Nicolò Ribaudo
2017-08-23 05:11:02 +02:00
committed by Justin Ridgewell
parent 93cf26abca
commit 4577bd1b7c

View File

@@ -25,7 +25,7 @@ defineType("TypeParameterInstantiation", {
params: {
validate: chain(
assertValueType("array"),
assertEach(assertNodeType("TSType", "FlowType")),
assertEach(assertNodeType("TSType", "Flow")),
),
},
},