@graphql-mesh/transport-rest
Version:
8 lines (7 loc) • 428 B
text/typescript
import { GraphQLObjectType, GraphQLTypeResolver } from 'graphql';
export declare function getTypeResolverForAbstractType({ possibleTypes, discriminatorField, discriminatorMapping, statusCodeTypeNameMap, }: {
possibleTypes: readonly GraphQLObjectType[];
discriminatorField?: string;
discriminatorMapping?: Record<string, string>;
statusCodeTypeNameMap?: Record<string, string>;
}): GraphQLTypeResolver<any, any>;