Skip to Content
LibraryCoreSrcElawsopenapiClient.gencore/src/elawsOpenapi/client.gen

Lawtext core references


Lawtext core references / core/src/elawsOpenapi/client.gen

core/src/elawsOpenapi/client.gen

Type Aliases

CreateClientConfig

CreateClientConfig<T> = (override?) => Config<Required<ClientOptions> & T>

Defined in: core/src/elawsOpenapi/client.gen.ts:14 

The createClientConfig() function will be called on client initialization and the returned object will become the client’s initial configuration.

You may want to initialize your client this way instead of calling setConfig(). This is useful for example if you’re using Next.js to ensure your client always has the correct values.

Type Parameters

T

T extends ClientOptions = ClientOptions2

Parameters

override?

Config<ClientOptions & T>

Returns

Config<Required<ClientOptions> & T>

Variables

client

const client: Client

Defined in: core/src/elawsOpenapi/client.gen.ts:16 

© 2017-2026 yamachi