Type alias ValidatorMyZod<TI>

ValidatorMyZod<TI>: {
    parse: ((input) => TI);
}

Represents a MyZod validator which contains a parse method for input data.

Type Parameters

  • TI

    The type into which the input data will be parsed.

Type declaration

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

        • input: any

        Returns TI