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

This commit is contained in:
Pablo Ois Lagarde
2016-07-24 00:31:44 -07:00
committed by Mohamed Hegazy
parent 1364c7f9e0
commit d104e10960
+1 -1
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;