UNPKG

@zimic/fetch

Version:

Next-gen TypeScript-first Fetch client

29 lines (23 loc) 974 B
export type { JSONStringified } from '@zimic/utils/types'; export type { Fetch, InferFetchSchema, FetchOptions, FetchDefaults, FetchInput, FetchRequestConstructor, } from './client/types/public'; export { FetchRequest } from './client/request/FetchRequest'; export type { FetchRequestInit, FetchRequestObject, FetchRequestObjectOptions } from './client/request/types'; export { FetchResponse } from './client/response/FetchResponse'; export type { FetchResponsePerStatusCode } from './client/response/FetchResponse'; export type { FetchResponseObject, FetchResponseObjectOptions, FetchResponseConstructor, FetchResponseInit, FetchResponseStatusCode, } from './client/response/types'; export { default as FetchResponseError } from './client/response/error/FetchResponseError'; export type { FetchResponseErrorObject, FetchResponseErrorObjectOptions } from './client/response/error/types'; export { default as createFetch } from './client/factory';