Vault.getConfig method
Vault › getConfig
Unofficial
Get value from config by key.Signature:
getConfig(key: Key): AppVaultConfig[Key]Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | Key | Key of config value. |
Returns: AppVaultConfig[Key] — The config value.
Remarks:
Default value will be selected if config value was not manually changed.Unofficial
Get value from config by key.Signature:
getConfig($string: ConfigItem): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| $string | ConfigItem |
Returns: unknown — The config value.
Remarks:
Default value will be selected if config value was not manually changed.