expo
Version:
19 lines (17 loc) • 407 B
text/typescript
/**
* A fetch RequestInit compatible structure.
*/
export interface FetchRequestInit {
body?: BodyInit;
credentials?: RequestCredentials; // same-origin is not supported
headers?: HeadersInit;
method?: string;
signal?: AbortSignal;
redirect?: RequestRedirect;
// Not supported fields
integrity?: string;
keepalive?: boolean;
mode?: RequestMode;
referrer?: string;
window?: any;
}