UNPKG

graphql-codegen-typescript-resolvers

Version:

graphql-codegen-cli template for TypeScript typings for both client side and server side

12 lines (11 loc) 430 B
import { TypeScriptCommonConfig } from 'graphql-codegen-typescript-common'; import { PluginFunction } from 'graphql-codegen-core'; export interface TypeScriptServerResolversConfig extends TypeScriptCommonConfig { noNamespaces?: boolean; contextType?: string; mappers?: { [name: string]: string; }; defaultMapper?: string; } export declare const plugin: PluginFunction<TypeScriptServerResolversConfig>;