ObjectOptionConfig

type
type ObjectOptionConfig = {
  [key in keyof Omit<
    CommonOptionConfig<ObjectValue<NoInfer<TProperties>>, NoInfer<TCoerce>>,
    "choices" | "coerce" | "validate" | "default"
  >]: CommonOptionConfig<
    ObjectValue<NoInfer<TProperties>>,
    NoInfer<TCoerce>
  >[key];
} & {
  coerce?: (value: ObjectValue<TProperties>) => TCoerce;
  default?: Default<object>;
  properties: TProperties;
  type: "object";
  validate?: (
    value: ObjectValidateType<TCoerce, TProperties>
  ) => boolean | string;
};