lanka-validations - v2.1.0
    Preparing search index...

    Interface ValidationSuccess<T>

    Universal validation result contract across all lanka-validations modules

    interface ValidationSuccess<T> {
        code?: undefined;
        data: T;
        error?: undefined;
        errors?: undefined;
        isValid: true;
    }

    Type Parameters

    • T
    Index
    code?: undefined
    data: T
    error?: undefined
    errors?: undefined
    isValid: true