UNPKG

graphql-mocks

Version:
5 lines (4 loc) 388 B
import { GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType, GraphQLType } from 'graphql'; declare type UnwrappedType = GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType; export declare function unwrap(type: GraphQLType): UnwrappedType; export {};