ConfigReader.getConfig()
Home > @backstage/config > ConfigReader > getConfig
Same as getOptionalConfig, but will throw an error if there's no value for the given key.
Signature:
getConfig(key: string): ConfigReader;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |