Interface: IConfigService
The common interface for the configuration service.
Methods
get()
get<
T
>(key
,defaultValue?
):T
Gets a configuration value.
Type Parameters
T
T
= any
The expected type of the value.
Parameters
key
string
The key of the configuration property.
defaultValue?
T
An optional default value if the key is not found.
Returns
T
The configuration value, or the default value.