@types/node 16.11.6 → 16.11.7
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/fs.d.ts +2 -2
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://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,
|
|
11
|
+
* Last updated: Mon, 08 Nov 2021 21:31:28 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node/fs.d.ts
CHANGED
|
@@ -297,7 +297,7 @@ declare module 'fs' {
|
|
|
297
297
|
* @since v0.1.93
|
|
298
298
|
*/
|
|
299
299
|
export class ReadStream extends stream.Readable {
|
|
300
|
-
close(): void;
|
|
300
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
301
301
|
/**
|
|
302
302
|
* The number of bytes that have been read so far.
|
|
303
303
|
* @since v6.4.0
|
|
@@ -385,7 +385,7 @@ declare module 'fs' {
|
|
|
385
385
|
* callback that will be executed once the `writeStream`is closed.
|
|
386
386
|
* @since v0.9.4
|
|
387
387
|
*/
|
|
388
|
-
close(): void;
|
|
388
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
389
389
|
/**
|
|
390
390
|
* The number of bytes written so far. Does not include data that is still queued
|
|
391
391
|
* for writing.
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.7",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "f35526242fcaf9fa8ad50a3aadb0bb8c2e9aba5a332ca0523451167ec6a19f2e",
|
|
224
224
|
"typeScriptVersion": "3.7"
|
|
225
225
|
}
|