Skip to main content

DirectiveResolverFn

talawa-api


talawa-api / types/generatedGraphQLTypes / DirectiveResolverFn

Type Alias: DirectiveResolverFn()<TResult, TParent, TContext, TArgs>

> DirectiveResolverFn<TResult, TParent, TContext, TArgs>: (next, parent, args, context, info?) => TResult | Promise<TResult>

Type Parameters

TResult = {}

TParent = {}

TContext = {}

TArgs = {}

Parameters

next

NextResolverFn<TResult>

parent

TParent

args

TArgs

context

TContext

info?

GraphQLResolveInfo

Returns

TResult | Promise<TResult>

Defined in

src/types/generatedGraphQLTypes.ts:3474