From aad85d425edd0aeeb6b02dedcd4fce3d072ffe2d Mon Sep 17 00:00:00 2001 From: Juan David Henao Zapata Date: Tue, 25 Oct 2016 15:37:53 -0500 Subject: [PATCH] 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 --- config/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/index.d.ts b/config/index.d.ts index a9cb505f0e..98dda3448a 100644 --- a/config/index.d.ts +++ b/config/index.d.ts @@ -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 {