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
@cybersiddhu One issue that I found with that is the { data } object returned by useQuery is of type any. So either we stick with that or use type casting to convert it to Publication
publication/pages/[id]/index.tsx
Line 15 in 59a24f7
Here is a approach that makes it little easier to use typescript with graphql query
https://charlypoly.com/publications/typescript-with-graphql-done-right
https://github.com/dotansimha/graphql-typed-document-node
It is already defined in
dicty-graphql-schema
packageThe text was updated successfully, but these errors were encountered: