ConfigReader.get()
Home > @backstage/config
> ConfigReader
> get
Same as getOptional
, but will throw an error if there's no value for the given key.
Signature:
get<T = JsonValue>(key?: string): T;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
string |
(Optional) |
T