Sharing GraphQL types between server and client (Flow)

Since GraphQL types look at lot like flow types, has anyone experimented with creating a shared library between server and client?

I searched but didn’t find much. I found this on google, but it seems to be deprecated: https://github.com/joarwilk/gql2flow