Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseConfigValidator<T>

Base class for all config validators, contains common logic and defines interface for them

Type parameters

  • T

    validated configuration object type

Hierarchy

Index

Constructors

Protected constructor

Properties

Private validationFunctions

validationFunctions: ConfigValidationFunctionType<T>[]

Methods

Protected Abstract defineValidationFunctions

validate

  • validate(config: T): Record<string, string>

validateAndThrowOnErrors

  • validateAndThrowOnErrors(config: T): void

Generated using TypeDoc