mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
nconf: allow nconf.get() without a key (#10059)
This commit is contained in:
committed by
Mohamed Hegazy
parent
1364c7f9e0
commit
d104e10960
2
nconf/nconf.d.ts
vendored
2
nconf/nconf.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user