@hyper-fetch/core 7.2.4 → 7.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -3
- package/dist/browser/index.js.map +2 -2
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/src/client/client.create.ts +4 -10
package/dist/index.d.ts
CHANGED
|
@@ -1880,9 +1880,7 @@ declare const stringifyDefaultOptions: {
|
|
|
1880
1880
|
type ClientGenericType = {
|
|
1881
1881
|
error?: ClientErrorType;
|
|
1882
1882
|
};
|
|
1883
|
-
declare function createClient<ClientProperties extends ClientGenericType = {
|
|
1884
|
-
error?: ClientErrorType;
|
|
1885
|
-
}>(options: ClientOptionsType<Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", ClientErrorType>>>>): Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", ClientErrorType>>, HttpAdapterType>;
|
|
1883
|
+
declare function createClient<ClientProperties extends ClientGenericType = {}>(options: ClientOptionsType<Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", Error>>>>): Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", Error>>, HttpAdapterType>;
|
|
1886
1884
|
|
|
1887
1885
|
declare class Plugin<Client extends ClientInstance = ClientInstance, PluginData = void> {
|
|
1888
1886
|
config: PluginOptionsType<PluginData>;
|
package/dist/index.js
CHANGED