UNPKG

graphql-paper

Version:

A flexible in-memory store based on a GraphQL Schema

3 lines (2 loc) 182 B
import { Document } from '../types'; export declare function createDocument<T extends Document = Document>(typename: string, partial: Record<string | symbol, any>, key?: string): T;