graphql-paper
Version:
A flexible in-memory store based on a GraphQL Schema
5 lines (4 loc) • 380 B
TypeScript
import { GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType, GraphQLType } from 'graphql';
type UnwrappedType = GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType;
export declare function unwrap(type: GraphQLType): UnwrappedType;
export {};