Files
DefinitelyTyped/types/graphql-date/graphql-date-tests.ts
2017-03-24 14:27:52 -07:00

14 lines
313 B
TypeScript

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