mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 06:05:54 +08:00
Fixing tabs, the folder originally had soft tabs
This commit is contained in:
14
request/request.d.ts
vendored
14
request/request.d.ts
vendored
@@ -57,13 +57,13 @@ declare module 'request' {
|
||||
|
||||
export var initParams: any;
|
||||
|
||||
interface UriOptions {
|
||||
uri: string;
|
||||
}
|
||||
interface UriOptions {
|
||||
uri: string;
|
||||
}
|
||||
|
||||
interface UrlOptions {
|
||||
url: string;
|
||||
}
|
||||
interface UrlOptions {
|
||||
url: string;
|
||||
}
|
||||
|
||||
interface OptionalOptions {
|
||||
callback?: (error: any, response: http.IncomingMessage, body: any) => void;
|
||||
@@ -96,7 +96,7 @@ declare module 'request' {
|
||||
gzip?: boolean;
|
||||
}
|
||||
|
||||
export type Options = (UriOptions|UrlOptions)&OptionalOptions;
|
||||
export type Options = (UriOptions|UrlOptions)&OptionalOptions;
|
||||
|
||||
export interface RequestPart {
|
||||
headers?: Headers;
|
||||
|
||||
Reference in New Issue
Block a user