Skip to main content

ConfigReader.getStringArray()

Home > @backstage/config > ConfigReader > getStringArray

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

Signature:

getStringArray(key: string): string[];

Parameters

Parameter

Type

Description

key

string

**Returns:**

string[]