DiagnosticsOptionsValidator
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/diagnostics/DiagnosticsOptions.ts:212
Validates resolved DiagnosticsOptionsType settings.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DiagnosticsOptionsValidator():
DiagnosticsOptionsValidator
Defined in: src/diagnostics/DiagnosticsOptions.ts:213
Returns
Section titled “Returns”DiagnosticsOptionsValidator
Overrides
Section titled “Overrides”OptionsValidator<DiagnosticsOptionsType>.constructor
Methods
Section titled “Methods”validate()
Section titled “validate()”validate(
settings):void
Defined in: src/util/OptionsValidator.ts:109
Check the (merged) settings; throws OptionsError on the first
violation. Unset (undefined) fields always pass.
Parameters
Section titled “Parameters”settings
Section titled “settings”Partial<T>
Returns
Section titled “Returns”void
