import { GraphQLInputType, GraphQLObjectType } from 'graphql' type Getter = () => Result export const objectTypeRegistry = new WeakMap< Function, Getter >() export const inputTypeRegistry = new WeakMap< Function, Getter >() export interface ITypeConfig { name: string description: string isNonNull?: boolean }