mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-04 12:10:30 +08:00
Adds overload nconf.file(key, name)
This commit is contained in:
1 parent
2d64e0d945
commit
a5a990ae45
2 files changed
+2
No files matched your search
@@ -36,6 +36,7 @@ p = nconf.env();
|
||||
p = nconf.env(opts);
|
||||
|
||||
p = nconf.file(str);
|
||||
p = nconf.file(str, str);
|
||||
p = nconf.file(str, fopts);
|
||||
p = nconf.file(fopts);
|
||||
p = nconf.file({
|
||||
|
||||
Vendored
+1
@@ -25,6 +25,7 @@ declare module "nconf" {
|
||||
export function argv(options?: IOptions): Provider;
|
||||
export function env(options?: IOptions): Provider;
|
||||
export function file(name: string, options?: IFileOptions): Provider;
|
||||
export function file(key: string, name: string): Provider;
|
||||
export function file(options: IFileOptions): Provider;
|
||||
export function use(name: string, options?: IOptions): Provider;
|
||||
export function defaults(options?: IOptions): Provider;
|
||||
|
||||
Reference in new issue
Block a user