Function: defineConfig()
ts
function defineConfig<T>(
config: Partial<KyooConfiguration<T>>,
): KyooConfiguration<T>;
Validates, sanitizes, and returns the configuration object for the adapter.
Type Parameters
Type Parameter |
---|
T extends keyof KyooClientConfigurations |
Parameters
Parameter | Type | Description |
---|---|---|
config | Partial <KyooConfiguration <T >> | The potential configuration object for the Kyoo client. |
Returns
KyooConfiguration
<T
>
A configuration object for the Kyoo client.