closes #13708
This commit is contained in:
parent
029d0f25e5
commit
f1b33ab7b1
@ -68,9 +68,11 @@ export interface RequestArgs extends RequestOptionsArgs { url: string; }
|
|||||||
*
|
*
|
||||||
* @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export type ResponseOptionsArgs = {
|
export interface ResponseOptionsArgs {
|
||||||
body?: string | Object | FormData | ArrayBuffer | Blob; status?: number; statusText?: string;
|
body?: string|Object|FormData|ArrayBuffer|Blob;
|
||||||
|
status?: number;
|
||||||
|
statusText?: string;
|
||||||
headers?: Headers;
|
headers?: Headers;
|
||||||
type?: ResponseType;
|
type?: ResponseType;
|
||||||
url?: string;
|
url?: string;
|
||||||
};
|
}
|
||||||
|
@ -197,14 +197,14 @@ export declare class ResponseOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare type ResponseOptionsArgs = {
|
export interface ResponseOptionsArgs {
|
||||||
body?: string | Object | FormData | ArrayBuffer | Blob;
|
body?: string | Object | FormData | ArrayBuffer | Blob;
|
||||||
|
headers?: Headers;
|
||||||
status?: number;
|
status?: number;
|
||||||
statusText?: string;
|
statusText?: string;
|
||||||
headers?: Headers;
|
|
||||||
type?: ResponseType;
|
type?: ResponseType;
|
||||||
url?: string;
|
url?: string;
|
||||||
};
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare enum ResponseType {
|
export declare enum ResponseType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user