nconf: allow nconf.get() without a key (#10059)

This commit is contained in:
Pablo Ois Lagarde
2016-07-24 04:31:44 -03:00
committed by Mohamed Hegazy
parent 1364c7f9e0
commit d104e10960

2
nconf/nconf.d.ts vendored
View File

@@ -11,7 +11,7 @@ declare module "nconf" {
export var sources: any[];
export function clear(key: string, callback?: ICallbackFunction): any;
export function get (key: string, callback?: ICallbackFunction): any;
export function get (key?: string, callback?: ICallbackFunction): any;
export function merge(key: string, value: any, callback?: ICallbackFunction): any;
export function set (key: string, value: any, callback?: ICallbackFunction): any;
export function reset(callback?: ICallbackFunction): any;