@types/node 10.10.0 → 10.10.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/index.d.ts +5 -0
- node/package.json +2 -2
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: Mon, 17 Sep 2018
|
|
11
|
+
* Last updated: Mon, 17 Sep 2018 17:19:24 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node/index.d.ts
CHANGED
|
@@ -6415,6 +6415,11 @@ declare module "stream" {
|
|
|
6415
6415
|
|
|
6416
6416
|
export class PassThrough extends Transform { }
|
|
6417
6417
|
|
|
6418
|
+
export function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, callback: (err?: NodeJS.ErrnoException) => void): () => void;
|
|
6419
|
+
export namespace finished {
|
|
6420
|
+
export function __promisify__(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream): Promise<void>;
|
|
6421
|
+
}
|
|
6422
|
+
|
|
6418
6423
|
export function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: T, callback?: (err: NodeJS.ErrnoException) => void): T;
|
|
6419
6424
|
export function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: T, callback?: (err: NodeJS.ErrnoException) => void): T;
|
|
6420
6425
|
export function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.ReadWriteStream, stream4: T, callback?: (err: NodeJS.ErrnoException) => void): T;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.10.
|
|
3
|
+
"version": "10.10.1",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -155,6 +155,6 @@
|
|
|
155
155
|
},
|
|
156
156
|
"scripts": {},
|
|
157
157
|
"dependencies": {},
|
|
158
|
-
"typesPublisherContentHash": "
|
|
158
|
+
"typesPublisherContentHash": "6a3bea53372ae1d23d4a49c6f89a6fb3d071829a2d95d133bb7f7c9bc831653f",
|
|
159
159
|
"typeScriptVersion": "2.0"
|
|
160
160
|
}
|