@types/node 13.1.0 → 13.1.4
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.
- node/README.md +1 -1
- node/globals.d.ts +2 -2
- node/index.d.ts +1 -1
- node/module.d.ts +1 -0
- node/package.json +2 -2
- node/url.d.ts +0 -1
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 03 Jan 2020 23:33:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node/globals.d.ts
CHANGED
|
@@ -164,8 +164,8 @@ declare function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
|
164
164
|
|
|
165
165
|
declare function queueMicrotask(callback: () => void): void;
|
|
166
166
|
|
|
167
|
-
declare var require:
|
|
168
|
-
declare var module:
|
|
167
|
+
declare var require: NodeRequire;
|
|
168
|
+
declare var module: NodeModule;
|
|
169
169
|
|
|
170
170
|
// Same as module.exports
|
|
171
171
|
declare var exports: any;
|
node/index.d.ts
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
61
61
|
// Empty interfaces are used here which merge fine with the real declarations in the lib XXX files
|
|
62
|
-
// just to ensure the names are known and node typings can be
|
|
62
|
+
// just to ensure the names are known and node typings can be used without importing these libs.
|
|
63
63
|
// if someone really needs these types the libs need to be added via --lib or in tsconfig.json
|
|
64
64
|
interface AsyncIterable<T> { }
|
|
65
65
|
interface IterableIterator<T> { }
|
node/module.d.ts
CHANGED
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -226,6 +226,6 @@
|
|
|
226
226
|
},
|
|
227
227
|
"scripts": {},
|
|
228
228
|
"dependencies": {},
|
|
229
|
-
"typesPublisherContentHash": "
|
|
229
|
+
"typesPublisherContentHash": "78801fd356199a34ee5e74159c9e3a319f11959a08bb1e68ead4ff02d938e58e",
|
|
230
230
|
"typeScriptVersion": "2.8"
|
|
231
231
|
}
|