@codesupport/inherited-config
Version:
Project configuration system with inheritance support for multiple environments.
14 lines (13 loc) • 322 B
TypeScript
interface Options {
path: string;
log: boolean;
}
declare class InheritedConfig {
private readonly config;
private readonly options;
require(path: string): any;
private log;
constructor(options?: Partial<Options>);
getValue<T>(key: string): T | undefined;
}
export default InheritedConfig;