Add loadFileConfigs function

the node-config update and add this library that i required for my project, see the new docs here: https://github.com/lorenwest/node-config/wiki/Using-Config-Utilities
This commit is contained in:
Juan David Henao Zapata 2016-10-25 15:37:53 -05:00 committed by GitHub
parent 5d8373707c
commit aad85d425e

3
config/index.d.ts vendored
View File

@ -31,6 +31,9 @@ declare namespace c {
// Get the current value of a config environment variable
getEnv(varName: string): string;
// Return the config for the project based on directory param if not directory then return default one (config).
loadFileConfigs(configDir: string): any;
}
interface IConfig {