You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@webjay's comment worked, but the typings for DocumentNode for apollo vs what this outputs isn't working.
First it throws this typing issue:
Types of property 'kind' are incompatible.
Type '"Document"' is not assignable to type 'Kind.DOCUMENT'
And if you fix that it says loc is not typed correctly:
Types of property 'loc' are incompatible.
Type '...' is missing the following properties from type 'Location': startToken, endToken, toJSON, [Symbol.toStringTag]
I've tried setting up my graphql.d.ts to use both the graphql & @apollo/client verions but neither satisfies the call to useQuery.
hi I want to import a graphql file. but for some reason i am getting error
how do i do the import
graphql.d.ts
.babelrc
full code can be viewed here
The text was updated successfully, but these errors were encountered: