Type alias Validator<T, R, P>

Validator<T, R, P>: ((value: T, context: ValidationContext<R, P>) => ValidationResult)

Type Parameters

  • T

    the type of the value to validate

  • R = T

  • P = unknown

Type declaration

Generated using TypeDoc