mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 21:06:14 +08:00
parentType: GraphQLObjectType, see https://github.com/graphql/graphql-js/pull/1033
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user