graphql-codegen-typescript-resolvers
Version:
graphql-codegen-cli template for TypeScript typings for both client side and server side
14 lines (13 loc) • 490 B
TypeScript
import { TypeScriptCommonConfig } from 'graphql-codegen-typescript-common';
import { PluginFunction } from 'graphql-codegen-core';
export interface TypeScriptServerResolversConfig extends TypeScriptCommonConfig {
strict?: boolean;
noNamespaces?: boolean;
contextType?: string;
mappers?: {
[name: string]: string;
};
defaultMapper?: string;
fieldResolverNamePrefix?: string;
}
export declare const plugin: PluginFunction<TypeScriptServerResolversConfig>;