Type alias ValidatorValibot<TI, TPI>

ValidatorValibot<TI, TPI>: {
    types?: {
        input: TI;
        output: TPI;
    };
}

Represents a Valibot validator with optional input and output types specification.

Type Parameters

  • TI

    The expected input type.

  • TPI

    The output type after validation.

Type declaration

  • Optional types?: {
        input: TI;
        output: TPI;
    }