Type alias ObjectSchema<T>

ObjectSchema<T>: {
    properties: {
        [K in keyof T]: Schema<T[K]>
    };
    required?: (keyof T)[];
    type: "object";
}

Type Parameters

  • T

Type declaration

  • properties: {
        [K in keyof T]: Schema<T[K]>
    }
  • Optional required?: (keyof T)[]
  • type: "object"

Generated using TypeDoc