···11// This file is auto-generated by @hey-api/openapi-ts
2233-import {
44- type ClientOptions as DefaultClientOptions,
55- type Config,
66- createClient,
77- createConfig
88-} from './client'
99-import type { ClientOptions } from './types.gen'
33+import { type ClientOptions, type Config, createClient, createConfig } from './client'
44+import type { ClientOptions as ClientOptions2 } from './types.gen'
105116/**
127 * The `createClientConfig()` function will be called on client initialization
···1611 * `setConfig()`. This is useful for example if you're using Next.js
1712 * to ensure your client always has the correct values.
1813 */
1919-export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (
2020- override?: Config<DefaultClientOptions & T>
2121-) => Config<Required<DefaultClientOptions> & T>
1414+export type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (
1515+ override?: Config<ClientOptions & T>
1616+) => Config<Required<ClientOptions> & T>
22172318export const client = createClient(
2424- createConfig<ClientOptions>({
1919+ createConfig<ClientOptions2>({
2520 baseUrl: 'https://petstore3.swagger.io/api/v3'
2621 })
2722)
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import type { Client, Options as ClientOptions, TDataShape } from './client'
33+import type { Client, Options as Options2, TDataShape } from './client'
44import { client } from './client.gen'
55import type {
66 AddPetData,
···6565export type Options<
6666 TData extends TDataShape = TDataShape,
6767 ThrowOnError extends boolean = boolean
6868-> = ClientOptions<TData, ThrowOnError> & {
6868+> = Options2<TData, ThrowOnError> & {
6969 /**
7070 * You can provide a client instance returned by `createClient()` instead of
7171 * individual options. This might be also useful if you want to implement a