Interface InterfaceResolver<TSource, TContext>

interface InterfaceResolver<TSource, TContext> {
    __resolveType?: GraphQLTypeResolver<TSource, TContext>;
    [fieldName: string]: GraphQLTypeResolver<TSource, TContext> | GraphQLFieldResolver<TSource, TContext> | undefined;
}

Type Parameters

  • TSource = unknown
  • TContext = unknown

Indexable

Properties

Properties

__resolveType?: GraphQLTypeResolver<TSource, TContext>