@types/config 0.0.39 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- config/README.md +1 -1
- config/index.d.ts +6 -5
- config/package.json +3 -3
config/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for node-config (https://github.com/loren
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/config.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 27 Jul 2022 07:32:19 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
config/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for node-config
|
|
1
|
+
// Type definitions for node-config 3.3
|
|
2
2
|
// Project: https://github.com/lorenwest/node-config
|
|
3
3
|
// Definitions by: Roman Korneev <https://github.com/RWander>
|
|
4
4
|
// Forrest Bice <https://github.com/forrestbice>
|
|
@@ -17,6 +17,8 @@ declare namespace c {
|
|
|
17
17
|
interface IUtil {
|
|
18
18
|
// Extend an object (and any object it contains) with one or more objects (and objects contained in them).
|
|
19
19
|
extendDeep(mergeInto: any, mergeFrom: any, depth?: number): any;
|
|
20
|
+
extendDeep(mergeInto: any, mergeFrom1: any, mergeFrom2: any, depth?: number): any;
|
|
21
|
+
extendDeep(mergeInto: any, ...mergeFrom: any): any;
|
|
20
22
|
|
|
21
23
|
// Return a deep copy of the specified object.
|
|
22
24
|
cloneDeep(copyFrom: any, depth?: number): any;
|
|
@@ -41,14 +43,13 @@ declare namespace c {
|
|
|
41
43
|
|
|
42
44
|
// Return the sources for the configurations
|
|
43
45
|
getConfigSources(): IConfigSource[];
|
|
44
|
-
|
|
46
|
+
|
|
45
47
|
// Returns a new deep copy of the current config object, or any part of the config if provided.
|
|
46
48
|
toObject(config?: any): any;
|
|
47
49
|
|
|
48
50
|
/**
|
|
49
|
-
* This allows module developers to attach their configurations onto
|
|
50
|
-
*
|
|
51
|
-
* they can be configured by the consumers of the module.
|
|
51
|
+
* This allows module developers to attach their configurations onto the default configuration object
|
|
52
|
+
* so they can be configured by the consumers of the module.
|
|
52
53
|
*/
|
|
53
54
|
setModuleDefaults(moduleName:string, defaults:any): any;
|
|
54
55
|
}
|
config/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "TypeScript definitions for node-config",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/config",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
44
|
-
"typeScriptVersion": "
|
|
43
|
+
"typesPublisherContentHash": "9ad4681ae2e56a952b32e8c0c79a2881264c8aa766469a9be7c34d033268b5bd",
|
|
44
|
+
"typeScriptVersion": "4.0"
|
|
45
45
|
}
|