radius-read
Version:
Realtime Dashboard
23 lines (22 loc) • 584 B
TypeScript
/**
* Service to read properties from a configuration file.
*/
export declare class PropertyService {
/**
* Creates an instance of PropertyService.
*/
constructor();
/**
* Gets properties from a configuration file.
* @param configPath
* @returns
*/
static getProperties<T>(configPath: string): T;
static getPropertiesFromJson<T>(jsonConfigPath: string): T;
/**
* Gets a specific property from a configuration object.
* @param configObject
* @returns
*/
static getProperty<T>(configObject: unknown): T;
}