UNPKG

878 BTypeScriptView Raw
1import { GraphQLEnumType, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLNamedType, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType } from 'graphql';
2export declare function renameType(type: GraphQLObjectType, newTypeName: string): GraphQLObjectType;
3export declare function renameType(type: GraphQLInterfaceType, newTypeName: string): GraphQLInterfaceType;
4export declare function renameType(type: GraphQLUnionType, newTypeName: string): GraphQLUnionType;
5export declare function renameType(type: GraphQLEnumType, newTypeName: string): GraphQLEnumType;
6export declare function renameType(type: GraphQLScalarType, newTypeName: string): GraphQLScalarType;
7export declare function renameType(type: GraphQLInputObjectType, newTypeName: string): GraphQLInputObjectType;
8export declare function renameType(type: GraphQLNamedType, newTypeName: string): GraphQLNamedType;