graphql-scalars
Version:
A collection of scalar types not included in base GraphQL.
6 lines (5 loc) • 311 B
TypeScript
import { ValueNode } from 'graphql';
export declare function identity<T>(value: T): T;
export declare function ensureObject(value: any, ast?: ValueNode): object;
export declare function parseObject(ast: ValueNode, variables: any): any;
export declare function parseLiteral(ast: ValueNode, variables: any): any;