graphql-scalars
Version:
A collection of scalar types not included in base GraphQL.
15 lines (14 loc) • 355 B
TypeScript
import { GraphQLScalarType } from 'graphql/type/definition';
declare const _default: GraphQLScalarType;
/**
* An Currency Scalar.
*
* Input:
* This scalar takes a currency string as input and
* formats it to currency in cents.
*
* Output:
* This scalar serializes currency in cents to
* currency strings.
*/
export default _default;