@types/node 12.20.36 → 12.20.37

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 v12.20/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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 25 Oct 2021 23:31:47 GMT
11
+ * Last updated: Mon, 08 Nov 2021 21:31:30 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v12.20/fs.d.ts CHANGED
@@ -131,7 +131,7 @@ declare module 'fs' {
131
131
  }
132
132
 
133
133
  class ReadStream extends stream.Readable {
134
- close(): void;
134
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
135
135
  bytesRead: number;
136
136
  path: string | Buffer;
137
137
 
@@ -162,7 +162,7 @@ declare module 'fs' {
162
162
  }
163
163
 
164
164
  class WriteStream extends stream.Writable {
165
- close(): void;
165
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
166
166
  bytesWritten: number;
167
167
  path: string | Buffer;
168
168
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.36",
3
+ "version": "12.20.37",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -190,6 +190,6 @@
190
190
  },
191
191
  "scripts": {},
192
192
  "dependencies": {},
193
- "typesPublisherContentHash": "240451672dafb673c0e2725d52b0b7b6c99ed8e697ff4ff03817963b24a92693",
193
+ "typesPublisherContentHash": "78be90eb75f4da4dd372b759d7fc010666de4ad712f0c10e30af3c36b0ef6a56",
194
194
  "typeScriptVersion": "3.7"
195
195
  }