Type alias UcOptional<T, TSchema, TOptional>

UcOptional<T, TSchema, TOptional>: Omit<TSchema, "optional"> & {
    optional: TOptional;
}

URI charge schema definition that permits undefined or missing values.

Type Parameters

  • T

    Implied data type.

  • TSchema extends UcSchema<T> = UcSchema<T>

    Schema type.

  • TOptional extends boolean | undefined = true

    Type of optional flag.

Type declaration

  • Readonly optional: TOptional

Generated using TypeDoc