@types/node 11.10.3 → 11.10.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 +2 -2
- node/index.d.ts +6 -2
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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: Sat, 02 Mar 2019 01:
|
|
11
|
+
* Last updated: Sat, 02 Mar 2019 01:57:45 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: Buffer, NodeJS,
|
|
13
|
+
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
16
|
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Jeremie Rodriguez <https://github.com/jeremiergz>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>.
|
node/index.d.ts
CHANGED
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
// TypeScript 2.1-specific augmentations:
|
|
56
56
|
|
|
57
57
|
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
58
|
+
// Empty interfaces are used here which merge fine with the real declarations in the lib XXX files
|
|
59
|
+
// just to ensure the names are known and node typings can be sued without importing these libs.
|
|
60
|
+
// if someone really needs these types the libs need to be added via --lib or in tsconfig.json
|
|
58
61
|
interface MapConstructor { }
|
|
59
62
|
interface WeakMapConstructor { }
|
|
60
63
|
interface SetConstructor { }
|
|
@@ -73,8 +76,9 @@ interface SymbolConstructor {
|
|
|
73
76
|
readonly asyncIterator: symbol;
|
|
74
77
|
}
|
|
75
78
|
declare var Symbol: SymbolConstructor;
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
// even this is just a forward declaration some properties are added otherwise
|
|
80
|
+
// it would be allowed to pass anything to e.g. Buffer.from()
|
|
81
|
+
interface SharedArrayBuffer {
|
|
78
82
|
readonly byteLength: number;
|
|
79
83
|
slice(begin?: number, end?: number): SharedArrayBuffer;
|
|
80
84
|
}
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "11.10.
|
|
3
|
+
"version": "11.10.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -201,6 +201,6 @@
|
|
|
201
201
|
},
|
|
202
202
|
"scripts": {},
|
|
203
203
|
"dependencies": {},
|
|
204
|
-
"typesPublisherContentHash": "
|
|
204
|
+
"typesPublisherContentHash": "5b11db9d8055487b54a7fc4d5036fad1e1412dae96268aedb4db89b0b100d129",
|
|
205
205
|
"typeScriptVersion": "2.0"
|
|
206
206
|
}
|