TypeParameterInstantiation params can be "Flow" nodes, not "FlowType" (#6140)
This commit is contained in:
committed by
Justin Ridgewell
parent
93cf26abca
commit
4577bd1b7c
@@ -25,7 +25,7 @@ defineType("TypeParameterInstantiation", {
|
||||
params: {
|
||||
validate: chain(
|
||||
assertValueType("array"),
|
||||
assertEach(assertNodeType("TSType", "FlowType")),
|
||||
assertEach(assertNodeType("TSType", "Flow")),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user