mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Victor Berchet
parent
2a123463ac
commit
b658fa9ea0
@@ -66,9 +66,11 @@ export interface RequestArgs extends RequestOptionsArgs { url: string; }
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
export type ResponseOptionsArgs = {
|
||||
body?: string | Object | FormData | ArrayBuffer | Blob; status?: number; statusText?: string;
|
||||
export interface ResponseOptionsArgs {
|
||||
body?: string|Object|FormData|ArrayBuffer|Blob;
|
||||
status?: number;
|
||||
statusText?: string;
|
||||
headers?: Headers;
|
||||
type?: ResponseType;
|
||||
url?: string;
|
||||
};
|
||||
}
|
||||
|
||||
+3
-3
@@ -191,14 +191,14 @@ export declare class ResponseOptions {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare type ResponseOptionsArgs = {
|
||||
export interface ResponseOptionsArgs {
|
||||
body?: string | Object | FormData | ArrayBuffer | Blob;
|
||||
headers?: Headers;
|
||||
status?: number;
|
||||
statusText?: string;
|
||||
headers?: Headers;
|
||||
type?: ResponseType;
|
||||
url?: string;
|
||||
};
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare enum ResponseType {
|
||||
|
||||
Reference in New Issue
Block a user