UNPKG

@hyper-fetch/core

Version:

Cache, Queue and Persist your requests no matter if you are online or offline!

8 lines 547 B
import { TypeWithDefaults } from '../types'; import { ClientErrorType, ClientOptionsType, Client } from '.'; import { HttpAdapterType } from '../http-adapter'; export type ClientGenericType = { error?: ClientErrorType; }; export declare function createClient<ClientProperties extends ClientGenericType = {}>(options: ClientOptionsType<Client<NonNullable<TypeWithDefaults<ClientProperties, "error", Error>>>>): Client<NonNullable<TypeWithDefaults<ClientProperties, "error", Error>>, HttpAdapterType>; //# sourceMappingURL=client.create.d.ts.map