Support conditional type and infer type in Flow (#14573)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
Sam Zhouandfisker authored and GitHub committed 2023-03-28 09:04:35 +08:00
1 parent b98576332a
commit b7ab34073e
26 files changed
+812 -11

No files matched your search

@@ -143,6 +143,12 @@ exports[`visitor keys estree 1`] = `
"consequent",
"alternate",
],
"ConditionalTypeAnnotation": [
"checkType",
"extendsType",
"trueType",
"falseType",
],
"ContinueStatement": [
"label",
],
@@ -368,6 +374,9 @@ exports[`visitor keys estree 1`] = `
"objectType",
"indexType",
],
"InferTypeAnnotation": [
"typeParameter",
],
"InferredPredicate": [],
"InterfaceDeclaration": [
"id",