Skip to content

Vault.getConfig method

Vault › getConfig

Unofficial

Get value from config by key.

Signature:

getConfig(key: Key): AppVaultConfig[Key]

Parameters:

ParameterTypeDescription
keyKeyKey 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): unknown

Parameters:

ParameterTypeDescription
$stringConfigItem

Returns: unknown — The config value.

Remarks:

Default value will be selected if config value was not manually changed.