MockConfigApi.getOptional()
Home > @backstage/test-utils
> MockConfigApi
> getOptional
Signature:
getOptional<T = JsonValue>(key?: string): T | undefined;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
string |
(Optional) |
T | undefined