Skip to content

OptionsGuardOptions.shouldRejectUnknownKeys?

OptionsGuardOptions › shouldRejectUnknownKeys?

Type: boolean

Whether a value carrying an own enumerable string key that no option guard names is refused. Letting it through, the default, lets a consumer compiled against a later version of the options pass one this version does not know.