diff --git a/src/babel/types/alias-keys.json b/src/babel/types/alias-keys.json index c0b823ac7a..9d917a303c 100644 --- a/src/babel/types/alias-keys.json +++ b/src/babel/types/alias-keys.json @@ -83,15 +83,15 @@ "ArrayTypeAnnotation": ["Flow"], "BooleanTypeAnnotation": ["Flow", "FlowBaseAnnotation"], "ClassImplements": ["Flow"], - "DeclareClass": ["Flow", "Statement"], - "DeclareFunction": ["Flow", "Statement"], - "DeclareModule": ["Flow", "Statement"], - "DeclareVariable": ["Flow", "Statement"], + "DeclareClass": ["Flow", "FlowStatement", "Statement", "FlowDeclaration"], + "DeclareFunction": ["Flow", "FlowStatement", "Statement", "FlowDeclaration"], + "DeclareModule": ["Flow", "FlowStatement", "Statement", "FlowDeclaration"], + "DeclareVariable": ["Flow", "FlowStatement", "Statement", "FlowDeclaration"], "FunctionTypeAnnotation": ["Flow"], "FunctionTypeParam": ["Flow"], "GenericTypeAnnotation": ["Flow"], "InterfaceExtends": ["Flow"], - "InterfaceDeclaration": ["Flow", "Statement", "Declaration"], + "InterfaceDeclaration": ["Flow", "FlowStatement", "Statement", "Declaration"], "IntersectionTypeAnnotation": ["Flow"], "MixedTypeAnnotation": ["Flow", "FlowBaseAnnotation"], "NullableTypeAnnotation": ["Flow"], @@ -100,7 +100,7 @@ "StringTypeAnnotation": ["Flow", "FlowBaseAnnotation"], "TupleTypeAnnotation": ["Flow"], "TypeofTypeAnnotation": ["Flow"], - "TypeAlias": ["Flow", "Statement"], + "TypeAlias": ["Flow", "FlowStatement", "Statement"], "TypeAnnotation": ["Flow"], "TypeCastExpression": ["Flow"], "TypeParameterDeclaration": ["Flow"],