Skip to main content

FileResponse

type FileResponse = CustomFetchResponse & {
arrayBuffer: Promise<ArrayBuffer>;
};

Response from a binary file endpoint (e.g. attachment view, backup download), extending CustomFetchResponse with arrayBuffer() support for binary content.

Type Declaration

NameType
arrayBuffer()() => Promise<ArrayBuffer>