graphql-codegen-typescript-resolvers
Version:
graphql-codegen-cli template for TypeScript typings for both client side and server side
7 lines (6 loc) • 603 B
TypeScript
import { Type, Interface, Union } from 'graphql-codegen-core';
import { GraphQLObjectType } from 'graphql';
export declare const getParentType: (convert: any) => (type: Type | import("graphql").GraphQLScalarType | GraphQLObjectType<any, any, {
[key: string]: any;
}> | import("graphql").GraphQLInterfaceType | import("graphql").GraphQLUnionType | import("graphql").GraphQLEnumType | import("graphql").GraphQLInputObjectType, options: Handlebars.HelperOptions) => string;
export declare function getParentTypes(convert: any): (entity: Interface | Union, options: Handlebars.HelperOptions) => string;