@types/node 9.6.45 → 9.6.49
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 v9/README.md +1 -1
- node v9/base.d.ts +7751 -0
- node v9/index.d.ts +19 -7755
- node v9/inspector.d.ts +2 -2
- node v9/package.json +9 -2
- node v9/ts3.2/index.d.ts +23 -0
node v9/inspector.d.ts
CHANGED
|
@@ -2524,7 +2524,7 @@ declare module "inspector" {
|
|
|
2524
2524
|
export function close(): void;
|
|
2525
2525
|
|
|
2526
2526
|
/**
|
|
2527
|
-
* Return the URL of the active inspector, or undefined if there is none.
|
|
2527
|
+
* Return the URL of the active inspector, or `undefined` if there is none.
|
|
2528
2528
|
*/
|
|
2529
|
-
export function url(): string;
|
|
2529
|
+
export function url(): string | undefined;
|
|
2530
2530
|
}
|
node v9/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.49",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -147,6 +147,13 @@
|
|
|
147
147
|
],
|
|
148
148
|
"main": "",
|
|
149
149
|
"types": "index",
|
|
150
|
+
"typesVersions": {
|
|
151
|
+
">=3.2.0-0": {
|
|
152
|
+
"*": [
|
|
153
|
+
"ts3.2/*"
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
},
|
|
150
157
|
"repository": {
|
|
151
158
|
"type": "git",
|
|
152
159
|
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
@@ -154,6 +161,6 @@
|
|
|
154
161
|
},
|
|
155
162
|
"scripts": {},
|
|
156
163
|
"dependencies": {},
|
|
157
|
-
"typesPublisherContentHash": "
|
|
164
|
+
"typesPublisherContentHash": "afd18608c65c72cf4cb7a535123f1191e231a87b9b3a58be214b5336aa6755e5",
|
|
158
165
|
"typeScriptVersion": "2.0"
|
|
159
166
|
}
|
node v9/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
|
+
}
|