Constructors
constructor
- new Config<T extends IBaseConfig>(valuesArray?: Schema<Partial<T>>[]): Config<T>
Parameters
- valuesArray: Schema<Partial<T>>[] = []
Properties
Methods
get
- get<K extends string | number | symbol>(
arg: K,
): K extends undefined
| null
? T
: K extends Path<T> ? PathValue<T, K<K>> : never Type Parameters
- K extends string | number | symbol
Returns K extends undefined | null ? T : K extends Path<T> ? PathValue<T, K<K>> : never
load
- load(data: Partial<T>): void
Returns void
validate
- validate(): void
Returns void