Constructors
constructor
- new ConfigValidator(schema: any): ConfigValidator
-
Methods
validate
- validate(inputConfig: any, defaultConfig?: Record<string, unknown>): any
-
Parameters
-
inputConfig: any
-
defaultConfig: Record<string, unknown> = {}
Returns any
Static
fromSchemaFile
- fromSchemaFile(filename: string): ConfigValidator
-
Construct a validator of YAML files.