Interface BodyMixin
Expand description
interface BodyMixin {
body?: undefined;
bodyUsed: boolean;
arrayBuffer(): Promise<ArrayBuffer>;
blob(): Promise<Blob>;
bytes(): Promise<Uint8Array<ArrayBufferLike>>;
formData(): Promise<never>;
json(): Promise<unknown>;
text(): Promise<string>;
}
https://fetch.spec.whatwg.org/#body-mixin