Type alias SGRootResolve<T>

SGRootResolve<T>: ((args: {
    [key: string]: any;
}, context: SGResolveContext, info: GraphQLResolveInfo, sgContext: SGContext) => Promise<T>)

Type Parameters

  • T = any

Type declaration

    • (args: {
          [key: string]: any;
      }, context: SGResolveContext, info: GraphQLResolveInfo, sgContext: SGContext): Promise<T>
    • Parameters

      • args: {
            [key: string]: any;
        }
        • [key: string]: any
      • context: SGResolveContext
      • info: GraphQLResolveInfo
      • sgContext: SGContext

      Returns Promise<T>

Generated using TypeDoc