Type Alias AuditExportFetch
AuditExportFetch: (
url: string,
init: { body: string; headers: Record<string, string>; method: string },
) => Promise<{ ok: boolean; status: number }>
Type Declaration
- (
url: string,
init: { body: string; headers: Record<string, string>; method: string },
): Promise<{ ok: boolean; status: number }> Parameters
- url: string
- init: { body: string; headers: Record<string, string>; method: string }
Returns Promise<{ ok: boolean; status: number }>
Structural subset of fetch — injectable for tests.