mirror of
https://github.com/danog/code-server.git
synced 2024-12-16 11:16:59 +01:00
24 lines
417 B
TypeScript
24 lines
417 B
TypeScript
|
declare module 'gulp-remote-retry-src' {
|
||
|
|
||
|
import stream = require("stream");
|
||
|
|
||
|
function remote(url: string, options: remote.IOptions): stream.Stream;
|
||
|
|
||
|
module remote {
|
||
|
export interface IRequestOptions {
|
||
|
body?: any;
|
||
|
json?: boolean;
|
||
|
method?: string;
|
||
|
headers?: any;
|
||
|
}
|
||
|
|
||
|
export interface IOptions {
|
||
|
base?: string;
|
||
|
buffer?: boolean;
|
||
|
requestOptions?: IRequestOptions;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export = remote;
|
||
|
}
|