mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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:
parent
5d8373707c
commit
aad85d425e
3
config/index.d.ts
vendored
3
config/index.d.ts
vendored
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user