Skip to content

Vault.setConfig method

Vault › setConfig

Unofficial

Set value of config by key.

Signature:

setConfig(key: Key, value: AppVaultConfig[Key]): void

Parameters:

ParameterTypeDescription
keyKeyKey of config value.
valueAppVaultConfig[Key]Value to set; undefined removes the key, so it reads back as its default.

Returns: void


Unofficial

Set value of config by key.

Signature:

setConfig(key: ConfigItem, value: unknown): void

Parameters:

ParameterTypeDescription
keyConfigItemKey of config value.
valueunknownValue to set.

Returns: void