Skip to main content

ConfigReader.getString()

Home > @backstage/config > ConfigReader > getString

Same as getOptionalString, but will throw an error if there's no value for the given key.

Signature:

getString(key: string): string;

Parameters

ParameterTypeDescription
keystring

Returns:

string