unset
unset<
K>(key):void
Resets a configuration option to its default value.
Type parameters
Section titled “Type parameters”• K extends string | number
Parameters
Section titled “Parameters”• key: K
The key of the configuration option to reset.
Returns
Section titled “Returns”void
Remarks
Section titled “Remarks”If the default value is not defined, the configuration option is removed.
Example
Section titled “Example”// Reset a custom configuration optionunset('customConfig');