Skip to main content

TypeResolveFn

talawa-apiDocs


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 = object

TContext = object

Parameters

parent: TParent

context: TContext

info?: GraphQLResolveInfo

Returns

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

Defined in

src/types/generatedGraphQLTypes.ts:3408