Typed Document Node
New to typed document node? Read this article by Dotan Simha: TypedDocumentNode: the next generation of GraphQL and TypeScript
TypedDocumentNode is a development tool for creating fully typed DocumentNode objects. It means that just by passing the GraphQL query/mutation/subscription/fragment to a supporting GraphQL client library, you’ll get fully-typed result and variables objects.
This library use Typed Document Node to provide type safety for your GraphQL queries, mutations, and subscriptions.