@types/config 0.0.33 → 0.0.34
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 +2 -2
- config/index.d.ts +4 -0
- config/package.json +7 -2
config/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for node-config (https://github.com/loren
|
|
|
8
8
|
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/config
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 08 Feb 2018 16:09:03 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Roman Korneev <https://github.com/RWander>, Forrest Bice <https://github.com/forrestbice>, James Donald <https://github.com/jndonald3>.
|
|
16
|
+
These definitions were written by Roman Korneev <https://github.com/RWander>, Forrest Bice <https://github.com/forrestbice>, James Donald <https://github.com/jndonald3>, Alberto Vasquez <https://github.com/albertovasquez>.
|
config/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// Definitions by: Roman Korneev <https://github.com/RWander>
|
|
4
4
|
// Forrest Bice <https://github.com/forrestbice>
|
|
5
5
|
// James Donald <https://github.com/jndonald3>
|
|
6
|
+
// Alberto Vasquez <https://github.com/albertovasquez>
|
|
6
7
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
8
|
|
|
8
9
|
|
|
@@ -39,6 +40,9 @@ declare namespace c {
|
|
|
39
40
|
|
|
40
41
|
// Return the sources for the configurations
|
|
41
42
|
getConfigSources(): IConfigSource[];
|
|
43
|
+
|
|
44
|
+
// Returns a new deep copy of the current config object, or any part of the config if provided.
|
|
45
|
+
toObject(config?: any): any;
|
|
42
46
|
|
|
43
47
|
/**
|
|
44
48
|
* This allows module developers to attach their configurations onto
|
config/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "TypeScript definitions for node-config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
"name": "James Donald",
|
|
19
19
|
"url": "https://github.com/jndonald3",
|
|
20
20
|
"githubUsername": "jndonald3"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Alberto Vasquez",
|
|
24
|
+
"url": "https://github.com/albertovasquez",
|
|
25
|
+
"githubUsername": "albertovasquez"
|
|
21
26
|
}
|
|
22
27
|
],
|
|
23
28
|
"main": "",
|
|
@@ -27,6 +32,6 @@
|
|
|
27
32
|
},
|
|
28
33
|
"scripts": {},
|
|
29
34
|
"dependencies": {},
|
|
30
|
-
"typesPublisherContentHash": "
|
|
35
|
+
"typesPublisherContentHash": "c0ee2b1980974999ec39f4d3ed2b0c327b20dd3c6f3457a7719f247e101ed68b",
|
|
31
36
|
"typeScriptVersion": "2.0"
|
|
32
37
|
}
|