joarwilk / gql2flow

Convert a GraphQL Schema to a flow definition
97 stars 24 forks source link

fix module declaration syntax #38

Open samhagan opened 7 years ago

samhagan commented 7 years ago

when using the moduleName flag, the inner declarations were as export but need to be declare export

https://flow.org/en/docs/libdefs/creation/#declaring-a-global-type-a-classtoc-idtoc-declaring-a-global-type-hreftoc-declaring-a-global-typea