Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "wed/wed-options-validation"

Index

Variables

Let _wedOptionsValidator

_wedOptionsValidator: Ajv.ValidateFunction

Functions

getValidator

  • getValidator(): Ajv.ValidateFunction

processWedOptions

  • Validates and normalizes the options to a specific format.

    Parameters

    • options: WedOptions

      The raw options obtained from the mode.

    Returns CleanedWedOptions | string[]

    The cleaned options if successful. If there were error the return value is an array of error messages.

Generated using TypeDoc