Type alias ArraySchema<T>

ArraySchema<T>: {
    items: Schema<T extends unknown[]
        ? T[number]
        : never>;
    maxItems?: number;
    minItems?: number;
    type: "array";
    uniqueItems?: boolean;
}

Type Parameters

  • T

Type declaration

  • items: Schema<T extends unknown[]
        ? T[number]
        : never>
  • Optional maxItems?: number
  • Optional minItems?: number
  • type: "array"
  • Optional uniqueItems?: boolean

Generated using TypeDoc