UNPKG

430 BTypeScriptView Raw
1import { TypeScriptCommonConfig } from 'graphql-codegen-typescript-common';
2import { PluginFunction } from 'graphql-codegen-core';
3export interface TypeScriptServerResolversConfig extends TypeScriptCommonConfig {
4 noNamespaces?: boolean;
5 contextType?: string;
6 mappers?: {
7 [name: string]: string;
8 };
9 defaultMapper?: string;
10}
11export declare const plugin: PluginFunction<TypeScriptServerResolversConfig>;