Skip to content

Type Alias: ConfigSchema<T>

ts
type ConfigSchema<T> = { [K in keyof T]: T[K] extends Record<string, unknown> ? ConfigSection<T[K]> : ConfigItem<T[K]> };

Defined in: packages/config-bound/src/configBound.ts:54

Type Parameters

Type ParameterDefault type
TRecord<string, unknown>