@types/node 12.12.52 → 12.12.53

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.12/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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 23 Jul 2020 23:06:40 GMT
11
+ * Last updated: Fri, 24 Jul 2020 21:38:17 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
 
@@ -1176,7 +1176,10 @@ declare namespace NodeJS {
1176
1176
  type TypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array;
1177
1177
  type ArrayBufferView = TypedArray | DataView;
1178
1178
 
1179
- // The value type here is a "poor man's `unknown`". When these types support TypeScript
1180
- // 3.0+, we can replace this with `unknown`.
1181
- type PoorMansUnknown = {} | null | undefined;
1179
+ // TODO: The value type here is a version of `unknown` with an acceptably lossy amount of accuracy.
1180
+ // Now that TypeScript's DT support is 3.0+, we can look into replacing this with `unknown`.
1181
+ type UnknownFacade = {} | null | undefined;
1182
+
1183
+ /** @deprecated - Use `UnknownFacade` instead. It is a better classifier for the type */
1184
+ type PoorMansUnknown = UnknownFacade;
1182
1185
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.12.52",
3
+ "version": "12.12.53",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -236,6 +236,6 @@
236
236
  },
237
237
  "scripts": {},
238
238
  "dependencies": {},
239
- "typesPublisherContentHash": "c60ad097b02968436590a22a1938a43e0cab02bfc1bc0af444acf3060fc54f27",
239
+ "typesPublisherContentHash": "b9815ea292276c26868629d2ee4eb5d96e995eec5470aee461285872e4f5a819",
240
240
  "typeScriptVersion": "3.0"
241
241
  }