Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConfigValidator

Index

Constructors

constructor

Methods

validate

  • validate(inputConfig: any, defaultConfig?: Record<string, unknown>): any
  • Validate the input config.

    throws

    On validation errors

    Parameters

    • inputConfig: any

      The input config file path (string) or parsed config (Object).

    • defaultConfig: Record<string, unknown> = {}

      The default config options.

    Returns any

    The input config with defaults applied.

Static fromSchemaFile

Generated using TypeDoc