Add support for this type to Babel 6.x

This commit is contained in:
Sam Goldman
2015-12-23 13:54:57 -05:00
parent ae8b7ea352
commit 32c03222bf
7 changed files with 225 additions and 0 deletions

View File

@@ -174,6 +174,11 @@ defineType("StringTypeAnnotation", {
}
});
defineType("ThisTypeAnnotation", {
aliases: ["Flow", "FlowBaseAnnotation"],
fields: {}
});
defineType("TupleTypeAnnotation", {
visitor: ["types"],
aliases: ["Flow"],