UNPKG

@graphql-codegen/typescript-react-apollo

Version:

GraphQL Code Generator plugin for generating a ready-to-use React Components/HOC/Hooks based on GraphQL operations

7 lines (6 loc) 387 B
import { PluginFunction, PluginValidateFn, Types } from '@graphql-codegen/plugin-helpers'; import { ReactApolloRawPluginConfig } from './config.cjs'; import { ReactApolloVisitor } from './visitor.cjs'; export declare const plugin: PluginFunction<ReactApolloRawPluginConfig, Types.ComplexPluginOutput>; export declare const validate: PluginValidateFn<any>; export { ReactApolloVisitor };