diff --git a/src/pure/fetch.ts b/src/pure/fetch.ts index 33bd691..54fbfc9 100644 --- a/src/pure/fetch.ts +++ b/src/pure/fetch.ts @@ -1,8 +1,5 @@ -import {base64Encode} from "./base64.ts"; - interface ResponseType { "text": string; - "base64": string; "json": unknown; "form": FormData; "byte": Uint8Array; @@ -56,7 +53,6 @@ export async function fetchExtend(path:string, typ switch(type){ case "text": return await response.text(); - case "base64": return base64Encode(new Uint8Array(await response.arrayBuffer())); case "json": return await response.json(); case "form": return await response.formData(); case "byte": return new Uint8Array(await response.arrayBuffer());