You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
398 B
6 lines
398 B
import type { GraphQLRequest } from "../core/index.js"; |
|
import { ApolloLink } from "../core/index.js"; |
|
import type { DefaultContext } from "../../core/index.js"; |
|
export type ContextSetter = (operation: GraphQLRequest, prevContext: DefaultContext) => Promise<DefaultContext> | DefaultContext; |
|
export declare function setContext(setter: ContextSetter): ApolloLink; |
|
//# sourceMappingURL=index.d.ts.map
|