@allspark-js/core
Version:
Core library to create js applications.
17 lines (16 loc) • 426 B
TypeScript
import nconfModule from 'nconf';
import { IConfigManager } from './config-manager';
type Nconf = typeof nconfModule;
type TDependencies = {
nconf: Nconf;
process: NodeJS.Process;
};
export default class NconfConfigManager implements IConfigManager {
private deps;
constructor(deps: TDependencies);
load({ path }?: {
path?: string | undefined;
}): void;
get(prop: string): any;
}
export {};