We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e90cd2e commit eb16471Copy full SHA for eb16471
nconf.d.ts
@@ -30,11 +30,10 @@
30
export function path(key: any): any[];
31
export function loadFiles(files: any, callback?: ICallbackFunction);
32
export function loadFilesSync(files: any, callback?: ICallbackFunction);
33
-
34
- export enum formats
35
- {
36
- json,
37
- ini
+
+ export enum formats {
+ json,
+ ini
38
}
39
40
export interface IOptions {
@@ -45,6 +44,7 @@
45
44
file?: string;
46
dir?: string;
47
search?: bool;
+ json_spacing?: number;
48
49
50
@@ -82,8 +82,11 @@
82
83
84
export interface IStore {
85
+ type: string;
86
get (key: string): any;
87
set (key: string, value: any): bool;
- }
88
+ clear(key: string): bool;
89
+ merge(key: string, value: any): bool;
90
+ reset(callback?: ICallbackFunction): bool
91
+ };
92
0 commit comments