Skip to content

IObjectValidatorConfig

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / IObjectValidatorConfig<TValidatable, TValidationError> interface

Represents the object validator configuration.

interface IObjectValidatorConfig<TValidatable extends IValidatable<TValidationError> | INotifyPropertiesChanged, TValidationError = string>

Source reference: src/validation/objectValidator/ObjectValidator.ts:15.

Generic Parameters

  • TValidatable - The instance type that is being validated.

    Type constraints: IValidatable<TValidationError> & INotifyPropertiesChanged.

  • TValidationError - The concrete type for representing validation errors (strings, enums, numbers etc.).

    Default value: string.

Properties

Methods

Clone this wiki locally