Skip to main content

TypeResolveFn

talawa-api


talawa-api / types/generatedGraphQLTypes / TypeResolveFn

Type Alias: TypeResolveFn()<TTypes, TParent, TContext>

> TypeResolveFn<TTypes, TParent, TContext>: (parent, context, info?) => Maybe<TTypes> | Promise<Maybe<TTypes>>

Type Parameters

TTypes

TParent = {}

TContext = {}

Parameters

parent

TParent

context

TContext

info?

GraphQLResolveInfo

Returns

Maybe<TTypes> | Promise<Maybe<TTypes>>

Defined in

src/types/generatedGraphQLTypes.ts:3408