setContext.d.ts 430 B

123456789
  1. import { Operation, NextLink, FetchResult } from '../types';
  2. import Observable from 'zen-observable-ts';
  3. import { ApolloLink } from '../link';
  4. export default class SetContextLink extends ApolloLink {
  5. private setContext;
  6. constructor(setContext?: (context: Record<string, any>) => Record<string, any>);
  7. request(operation: Operation, forward: NextLink): Observable<FetchResult>;
  8. }
  9. //# sourceMappingURL=setContext.d.ts.map