UNPKG

504 BTypeScriptView Raw
1import { GraphQLOutputType, GraphQLNamedType, GraphQLNonNull, GraphQLList } from 'graphql';
2import { Types } from './types';
3export declare function mergeOutputs(content: Types.PluginOutput | Array<Types.PluginOutput>): string;
4export declare function isWrapperType(t: GraphQLOutputType): t is GraphQLNonNull<any> | GraphQLList<any>;
5export declare function getBaseType(type: GraphQLOutputType): GraphQLNamedType;
6export declare function removeNonNullWrapper(type: GraphQLOutputType): GraphQLOutputType;