DefinitelyTyped/types/graphql-type-uuid/graphql-type-uuid-tests.ts
2019-04-16 17:35:45 +10:00

21 lines
422 B
TypeScript

import { GraphQLObjectType, GraphQLInputObjectType } from "graphql";
import * as GraphQLJSON from "graphql-type-uuid";
const TestType = new GraphQLObjectType({
name: "TestType",
fields: {
test: {
type: GraphQLJSON
}
}
});
const TestInputType = new GraphQLInputObjectType({
name: "TestInputType",
fields: {
test: {
type: GraphQLJSON
}
}
});