From b105099a98587a4937fced37a0c2cc0609fa2052 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Mon, 4 Sep 2017 01:16:10 +0300 Subject: [PATCH] "getType" returns GraphQLNamedType --- types/graphql/type/schema.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/graphql/type/schema.d.ts b/types/graphql/type/schema.d.ts index 2d0c5c7f3d..dc07de50a7 100644 --- a/types/graphql/type/schema.d.ts +++ b/types/graphql/type/schema.d.ts @@ -51,7 +51,7 @@ export class GraphQLSchema { getMutationType(): GraphQLObjectType|null|undefined; getSubscriptionType(): GraphQLObjectType|null|undefined; getTypeMap(): { [typeName: string]: GraphQLNamedType }; - getType(name: string): GraphQLType; + getType(name: string): GraphQLNamedType; getPossibleTypes(abstractType: GraphQLAbstractType): GraphQLObjectType[]; isPossibleType(