Type alias ValidatorYup<TI>

ValidatorYup<TI>: {
    validateSync: ((input) => TI);
}

Represents a Yup validator which contains a synchronous validate method.

Type Parameters

  • TI

    The type that the input is validated against and returned.

Type declaration

  • validateSync: ((input) => TI)
      • (input): TI
      • Parameters

        • input: unknown

        Returns TI