@types/node 12.7.0 → 12.7.1
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/package.json +2 -2
- node/tty.d.ts +2 -0
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: Wed, 07 Aug 2019 21:19:24 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.7.
|
|
3
|
+
"version": "12.7.1",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -206,6 +206,6 @@
|
|
|
206
206
|
},
|
|
207
207
|
"scripts": {},
|
|
208
208
|
"dependencies": {},
|
|
209
|
-
"typesPublisherContentHash": "
|
|
209
|
+
"typesPublisherContentHash": "53a0cec8c0721eaaa04fde9376c826d08538cd9882d4104aeeeb774e0c17f552",
|
|
210
210
|
"typeScriptVersion": "2.0"
|
|
211
211
|
}
|
node/tty.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare module "tty" {
|
|
|
3
3
|
|
|
4
4
|
function isatty(fd: number): boolean;
|
|
5
5
|
class ReadStream extends net.Socket {
|
|
6
|
+
constructor(fd: number, options?: net.SocketConstructorOpts);
|
|
6
7
|
isRaw: boolean;
|
|
7
8
|
setRawMode(mode: boolean): void;
|
|
8
9
|
isTTY: boolean;
|
|
@@ -14,6 +15,7 @@ declare module "tty" {
|
|
|
14
15
|
*/
|
|
15
16
|
type Direction = -1 | 0 | 1;
|
|
16
17
|
class WriteStream extends net.Socket {
|
|
18
|
+
constructor(fd: number);
|
|
17
19
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
18
20
|
addListener(event: "resize", listener: () => void): this;
|
|
19
21
|
|