(url: string, mimeType?: string)
| 28 | } |
| 29 | |
| 30 | export async function loadAsDataURL(url: string, mimeType?: string): Promise<string> { |
| 31 | const response = await getOKResponse(url, mimeType); |
| 32 | return await readResponseAsDataURL(response); |
| 33 | } |
| 34 | |
| 35 | export async function loadAsBlob(url: string, mimeType?: string): Promise<Blob> { |
| 36 | const response = await getOKResponse(url, mimeType); |
no test coverage detected