refactor(core/fetch): optimize perfomance, improve types

This commit is contained in:
2026-03-26 16:10:19 +07:00
parent 4876e04ceb
commit 1db475c982
13 changed files with 8653 additions and 2539 deletions
+3 -2
View File
@@ -1,3 +1,5 @@
import { createFetch } from './fetch';
export { createFetch } from './fetch';
export { FetchError, createFetchError } from './error';
export {
@@ -14,6 +16,7 @@ export type {
CreateFetchOptions,
Fetch,
FetchContext,
FetchErrorOptions,
FetchHook,
FetchHooks,
FetchOptions,
@@ -21,8 +24,6 @@ export type {
FetchResponse,
IFetchError,
MappedResponseType,
MaybeArray,
MaybePromise,
ResponseMap,
ResponseType,
ResolvedFetchOptions,