Files
DefinitelyTyped/types/graphql-date/graphql-date-tests.ts
T

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',
}
}
});