tra-analysis/website/functions/node_modules/gcs-resumable-upload/build/src/index.d.ts
2019-01-06 13:14:45 -06:00

9 lines
470 B
TypeScript

/// <reference types="request" />
import * as r from 'request';
export declare type RequestBody = any;
export declare type RequestResponse = r.Response;
export declare type Request = r.Request;
export declare type RequestOptions = r.OptionsWithUri;
export declare type RequestCallback = (err: Error | null, response?: r.Response, body?: RequestBody) => void;
export declare type AuthorizeRequestCallback = (err: Error | null, authorizedReqOpts: RequestOptions) => void;