Deleted fetch syscall (now natively supported)

This commit is contained in:
Zef Hemel
2022-04-21 15:29:13 +02:00
parent dad2b4e835
commit a2cb2727d2
5 changed files with 8 additions and 39 deletions
-12
View File
@@ -1,12 +0,0 @@
import { syscall } from "./syscall";
export async function json(url: RequestInfo, init: RequestInit): Promise<any> {
return syscall("fetch.json", url, init);
}
export async function text(
url: RequestInfo,
init: RequestInit = {}
): Promise<string> {
return syscall("fetch.text", url, init);
}