chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-27 20:05:11 +00:00
parent 62da1e7682
commit 2f1547ebaf
3 changed files with 22 additions and 4 deletions

View File

@@ -551,7 +551,10 @@ function streamRequest(headers?: Record<string, string>, signal?: AbortSignal):
}
function mockFetch(
fn: (input: Parameters<typeof globalThis.fetch>[0], init: Parameters<typeof globalThis.fetch>[1]) => ReturnType<typeof globalThis.fetch>,
fn: (
input: Parameters<typeof globalThis.fetch>[0],
init: Parameters<typeof globalThis.fetch>[1],
) => ReturnType<typeof globalThis.fetch>,
): typeof globalThis.fetch {
return Object.assign(fn, { preconnect: globalThis.fetch.preconnect })
}