ValidationResult<TIssue extends ValidationIssue, TValue> typedef

ValidationResult<TIssue extends ValidationIssue, TValue> = Either<TIssue, TValue>

Canonical result shape for validators.

Implementation

typedef ValidationResult<TIssue extends ValidationIssue, TValue> =
    Either<TIssue, TValue>;