@graphql-codegen/client-preset
Version:
GraphQL Code Generator preset for client.
7 lines (6 loc) • 377 B
TypeScript
import { Types } from '@graphql-codegen/plugin-helpers';
/**
* Automatically adds `__typename` selections to every object type in your GraphQL document.
* This is useful for GraphQL Clients such as Apollo Client or urql that need typename information for their cache to function.
*/
export declare const addTypenameSelectionDocumentTransform: Types.DocumentTransformObject;