mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
315 B
TypeScript
14 lines
315 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',
|
|
}
|
|
}
|
|
});
|