UNPKG

@restorecommerce/chassis-srv

Version:

Restore Commerce microservice chassis

14 lines 539 B
/** * Loads the configuration and stores it in the config singleton. * @param {string} baseDir Directory which contains the folder cfg with the config files. * @param [Logger] logger */ export declare const load: (baseDir: string, logger?: any) => Promise<any>; /** * Get config from singleton. * If singleton is undefined load id from current working directory. * @param [Logger] logger * @return {Object} nconf configuration object */ export declare const get: (logger?: any) => Promise<any>; //# sourceMappingURL=index.d.ts.map