@apollo/server
Version:
Core engine for Apollo GraphQL server
4 lines • 349 B
TypeScript
export type BaseContext = {};
export type ContextFunction<TIntegrationSpecificArgs extends any[], TContext extends BaseContext = BaseContext> = (...integrationContext: TIntegrationSpecificArgs) => Promise<TContext>;
export type ContextThunk<TContext extends BaseContext = BaseContext> = () => Promise<TContext>;
//# sourceMappingURL=context.d.ts.map