type ContextOf<TResolverField> = TResolverField extends (parent, args, context, ...rest) => unknown ? TContext : unknown;
Defined in: packages/graphql-casl/src/schemaTypes.ts:95
Extracts the context type from a generated resolver field.
TResolverField
A field of a generated *Resolvers type.
*Resolvers
type M = MutationResolvers['updateUsers']; type C = ContextOf<M>; // Context
There was an error while loading. Please reload this page.