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