Vault.setConfig method
Vault › setConfig
Unofficial
Set value of config by key.Signature:
setConfig(key: Key, value: AppVaultConfig[Key]): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| key | Key | Key of config value. |
| value | AppVaultConfig[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): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| key | ConfigItem | Key of config value. |
| value | unknown | Value to set. |
Returns: void