diff --git a/modules/@angular/http/src/interfaces.ts b/modules/@angular/http/src/interfaces.ts index 112e71d14d..7155e8ee40 100644 --- a/modules/@angular/http/src/interfaces.ts +++ b/modules/@angular/http/src/interfaces.ts @@ -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; -} +}; diff --git a/tools/public_api_guard/http/index.d.ts b/tools/public_api_guard/http/index.d.ts index 2b0196aa37..061a804f05 100644 --- a/tools/public_api_guard/http/index.d.ts +++ b/tools/public_api_guard/http/index.d.ts @@ -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 {