Merge pull request #19545 from APIs-guru/getType

[GraphQL] "getType" returns GraphQLNamedType
This commit is contained in:
Nathan Shively-Sanders 2017-09-09 08:27:36 -07:00 committed by GitHub
commit 2bd8a81998

View File

@ -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(