Thinkmill / ts-gql

Write GraphQL queries with a gql tag in TypeScript -> have generated types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `context` to `useApolloClient#query()`'s parameters

jesstelford opened this issue · comments

Apollo's client.query() accepts a context argument: https://www.apollographql.com/docs/react/api/core/ApolloClient/#ApolloClient.query

But ts-gql has a type error when I attempt to specify it for @ts-gql/apollo's export.