ofetch
Version:
A better fetch API. Works on node, browser and workers.
13 lines (10 loc) • 534 B
TypeScript
import { $ as $Fetch } from './error-04138797.js';
export { C as CreateFetchOptions, b as FetchContext, e as FetchError, c as FetchOptions, F as FetchRequest, a as FetchResponse, S as SearchParameters, d as createFetch, f as createFetchError } from './error-04138797.js';
declare const fetch: typeof globalThis.fetch;
declare const Headers: {
new (init?: HeadersInit | undefined): Headers;
prototype: Headers;
};
declare const ofetch: $Fetch;
declare const $fetch: $Fetch;
export { $Fetch, $fetch, Headers, fetch, ofetch };