Revert "fix(http): Make ResponseOptionsArgs an interface (#14607)"

This reverts commit fbe4b76f2d.
This commit is contained in:
Victor Berchet 2017-02-20 19:48:53 -08:00
parent c2d5f203a5
commit 2ddd1c3ed2
2 changed files with 6 additions and 8 deletions

View File

@ -68,11 +68,9 @@ export interface RequestArgs extends RequestOptionsArgs { url: string; }
*
* @experimental
*/
export interface ResponseOptionsArgs {
body?: string|Object|FormData|ArrayBuffer|Blob;
status?: number;
statusText?: string;
export type ResponseOptionsArgs = {
body?: string | Object | FormData | ArrayBuffer | Blob; status?: number; statusText?: string;
headers?: Headers;
type?: ResponseType;
url?: string;
}
};

View File

@ -197,14 +197,14 @@ export declare class ResponseOptions {
}
/** @experimental */
export interface ResponseOptionsArgs {
export declare type ResponseOptionsArgs = {
body?: string | Object | FormData | ArrayBuffer | Blob;
headers?: Headers;
status?: number;
statusText?: string;
headers?: Headers;
type?: ResponseType;
url?: string;
}
};
/** @experimental */
export declare enum ResponseType {