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(