This commit is contained in:
Firede
2018-03-26 22:02:02 +08:00
parent 106d393592
commit b34df70d54

View File

@@ -2,7 +2,6 @@ import getFieldNames = require("graphql-list-fields");
import {
GraphQLID,
GraphQLInterfaceType,
GraphQLObjectType,
GraphQLResolveInfo,
GraphQLSchema,
@@ -13,7 +12,7 @@ const sampleGraphQLResolveInfo: GraphQLResolveInfo = {
fieldName: "",
fieldNodes: [],
returnType: GraphQLString,
parentType: new GraphQLInterfaceType({
parentType: new GraphQLObjectType({
name: "Sample",
fields: {
name: { type: GraphQLString }