Package: effect
Module: Config
Wraps a nested structure, converting all primitives to a Config.
Config.Wrap<{ key: string }> becomes { key: Config<string> }
To create the resulting config, use the unwrap constructor.
Signature
type Wrap<A> = [NonNullable<A>] extends [infer T] ? [IsPlainObject<T>] extends [true] ?
| { readonly [K in keyof A]: Wrap<A[K]> }
| Config<A>
: Config<A>
: Config<A>
Since v2.0.0