// Type definitions for apollo-upload-client 8.1 // Project: https://github.com/jaydenseric/apollo-upload-client#readme // Definitions by: Edward Sammut Alessi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.1 import { ApolloLink } from "apollo-link"; import { HttpOptions } from "apollo-link-http-common"; export { ReactNativeFile } from "extract-files"; declare global { interface GlobalFetch { fetch: WindowOrWorkerGlobalScope["fetch"]; } } /** * `createUploadLink` options match `createHttpLink` options * @param linkOptions `HttpOptions` */ export function createUploadLink(linkOptions?: HttpOptions): ApolloLink;