@types/node 8.10.44 → 8.10.48
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 v8/README.md +1 -1
- node v8/base.d.ts +7328 -0
- node v8/index.d.ts +19 -7334
- node v8/package.json +9 -2
- node v8/ts3.2/index.d.ts +23 -0
node v8/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.48",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -127,6 +127,13 @@
|
|
|
127
127
|
],
|
|
128
128
|
"main": "",
|
|
129
129
|
"types": "index",
|
|
130
|
+
"typesVersions": {
|
|
131
|
+
">=3.2.0-0": {
|
|
132
|
+
"*": [
|
|
133
|
+
"ts3.2/*"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
130
137
|
"repository": {
|
|
131
138
|
"type": "git",
|
|
132
139
|
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
@@ -134,6 +141,6 @@
|
|
|
134
141
|
},
|
|
135
142
|
"scripts": {},
|
|
136
143
|
"dependencies": {},
|
|
137
|
-
"typesPublisherContentHash": "
|
|
144
|
+
"typesPublisherContentHash": "120c767774118adcd6e29927726c72513bd2bd719445fd6c7e1af9a55f7a7fd7",
|
|
138
145
|
"typeScriptVersion": "2.1"
|
|
139
146
|
}
|
node v8/ts3.2/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
2
|
+
|
|
3
|
+
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
+
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
+
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
6
|
+
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2
|
|
7
|
+
|
|
8
|
+
// Reference required types from the default lib:
|
|
9
|
+
/// <reference lib="es2017" />
|
|
10
|
+
|
|
11
|
+
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
12
|
+
// tslint:disable-next-line:no-bad-reference
|
|
13
|
+
/// <reference path="../base.d.ts" />
|
|
14
|
+
|
|
15
|
+
// TypeScript 3.2-specific augmentations:
|
|
16
|
+
declare module "util" {
|
|
17
|
+
namespace inspect {
|
|
18
|
+
const custom: unique symbol;
|
|
19
|
+
}
|
|
20
|
+
namespace promisify {
|
|
21
|
+
const custom: unique symbol;
|
|
22
|
+
}
|
|
23
|
+
}
|