BUPKIS
    Preparing search index...

    Interface SuccessResult<Output>

    The result interface if validation succeeds.

    Contains the validated/transformed output value and explicitly sets issues to undefined to distinguish from failure results.

    interface SuccessResult<Output> {
        issues?: undefined;
        value: Output;
    }

    Type Parameters

    • Output

      The output type after successful validation

    Index

    Properties

    Properties

    issues?: undefined

    The non-existent issues.

    Explicitly undefined to create a discriminated union with FailureResult.

    value: Output

    The typed output value.

    This may be the same as the input or a transformed version, depending on the schema's validation logic.