UNPKG

@inst/vscode-bin-darwin

Version:

BINARY ONLY - VSCode binary deployment for macOS

24 lines (23 loc) 655 B
export interface XHROptions { type?: string; url?: string; user?: string; password?: string; headers?: any; timeout?: number; data?: any; agent?: any; strictSSL?: boolean; responseType?: string; followRedirects?: number; } export interface XHRResponse { responseText: string; status: number; } export interface XHRRequest { (options: XHROptions): Promise<XHRResponse>; } export declare function configure(_proxyUrl: string, _strictSSL: boolean): void; export declare function xhr(options: XHROptions): Promise<XHRResponse>; export declare function getErrorStatusDescription(status: number): string;