Monorepo with yarn workspaces requires yarn 3.2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user