@types/config 0.0.35 → 0.0.36

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.
Files changed (3) hide show
  1. config/README.md +1 -1
  2. config/package.json +4 -4
  3. config/raw.d.ts +6 -1
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: Thu, 24 Oct 2019 00:05:55 GMT
11
+ * Last updated: Thu, 07 Nov 2019 19:27:31 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
config/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/config",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "TypeScript definitions for node-config",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -26,7 +26,7 @@
26
26
  }
27
27
  ],
28
28
  "main": "",
29
- "types": "index",
29
+ "types": "index.d.ts",
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
@@ -34,6 +34,6 @@
34
34
  },
35
35
  "scripts": {},
36
36
  "dependencies": {},
37
- "typesPublisherContentHash": "62f0b899ccd9aed58807937aae1687819f173fee28b6c8a959d0637374cb0558",
38
- "typeScriptVersion": "2.0"
37
+ "typesPublisherContentHash": "7b330a392ec054c7fa535d15a5b772013c97f7c7cfd645169796d9aac7f09cb7",
38
+ "typeScriptVersion": "2.8"
39
39
  }
config/raw.d.ts CHANGED
@@ -2,4 +2,9 @@
2
2
  * See: https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#using-promises-processstdout-and-other-objects-in-javascript-config-files
3
3
  */
4
4
 
5
- export function raw<T>(obj: T): T;
5
+ export class RawConfig<T> {
6
+ constructor(rawObj: T);
7
+ resolve(): T;
8
+ }
9
+
10
+ export function raw<T>(obj: T): RawConfig<T>;