@types/node 14.17.32 → 14.17.33

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 v14.17/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/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 25 Oct 2021 23:31:46 GMT
11
+ * Last updated: Mon, 08 Nov 2021 21:31:29 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v14.17/fs.d.ts CHANGED
@@ -143,7 +143,7 @@ declare module 'fs' {
143
143
  }
144
144
 
145
145
  export class ReadStream extends stream.Readable {
146
- close(): void;
146
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
147
147
  bytesRead: number;
148
148
  path: string | Buffer;
149
149
  pending: boolean;
@@ -211,7 +211,7 @@ declare module 'fs' {
211
211
  }
212
212
 
213
213
  export class WriteStream extends stream.Writable {
214
- close(): void;
214
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
215
215
  bytesWritten: number;
216
216
  path: string | Buffer;
217
217
  pending: boolean;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.17.32",
3
+ "version": "14.17.33",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  },
216
216
  "scripts": {},
217
217
  "dependencies": {},
218
- "typesPublisherContentHash": "952e31b70793836abdd438f1d7331a97ea14aa128d34f094fac166432e9ab29a",
218
+ "typesPublisherContentHash": "39926b170c7654bc55a386459ed7160ab59cfabf11681c9b36c337d519824d3d",
219
219
  "typeScriptVersion": "3.7"
220
220
  }