ConfigReader.getOptionalConfig()
Home > @backstage/config
> ConfigReader
> getOptionalConfig
Creates a sub-view of the configuration object. The configuration value at the position of the provided key must be an object.
Signature:
getOptionalConfig(key: string): ConfigReader | undefined;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
string |
ConfigReader | undefined