I have the following code:

```js
import { Query } from 'react-apollo';

type Post = {
  id: string
};

interface Data {
  posts: Array<Post>;
}

class PostsQuery extends Query<Data> {}
```

When using the above as follows:

```js
<PostsQuery query={POSTS_QUERY}>
  {({ loading, data }) => {
    ...
    {data.posts.map(...)}
    ...
  }
</PostsQuery>
```

I get the following error from flow:

`Error:(151, 27) Cannot get 'data.posts' because property 'posts' is missing in object type [1].`

Any idea why?

I did use `flow-typed` to add `apollo-client_v2.x.x.js` to my project by the way