Skip to main content

index/type-aliases/OptionsValidatorWithErrors.md

OptionsValidatorWithErrors<T> = (options) => string[]

Generic validation function signature that returns errors instead of throwing

Type Parameters​

Type Parameter
T

Parameters​

ParameterType
optionsT

Returns​

string[]

Since​

6.12.0