Files
DefinitelyTyped/types/graphql-bigint/graphql-bigint-tests.ts
2019-11-05 13:11:33 -08:00

14 lines
323 B
TypeScript

import { GraphQLObjectType } from 'graphql';
import * as GraphQLBigInt from 'graphql-bigint';
const fooType = new GraphQLObjectType({
name: 'Foo',
description: 'Some foo type',
fields: {
created: {
type: GraphQLBigInt,
description: 'BigInt foo was created',
}
}
});