@types/node 16.6.0 → 16.6.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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/tls.d.ts +1 -1
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: Wed, 11 Aug 2021 22:01:28 GMT
11
+ * Last updated: Thu, 12 Aug 2021 20:31:25 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.6.0",
3
+ "version": "16.6.1",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -237,6 +237,6 @@
237
237
  },
238
238
  "scripts": {},
239
239
  "dependencies": {},
240
- "typesPublisherContentHash": "756a55ff2eddd21fbed5fd80fb796c6b3ff4eb8f519f28d390ec52fc9564133a",
240
+ "typesPublisherContentHash": "f633e2ebd950a328c9dc33bbd6c2dc92d346161f794cc2264e0a2f0dc0fbb2c4",
241
241
  "typeScriptVersion": "3.6"
242
242
  }
node/tls.d.ts CHANGED
@@ -452,7 +452,7 @@ declare module 'tls' {
452
452
  * SecureContext.) If SNICallback wasn't provided the default callback
453
453
  * with high-level API will be used (see below).
454
454
  */
455
- SNICallback?: ((servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void) | undefined;
455
+ SNICallback?: ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void) | undefined;
456
456
  /**
457
457
  * If true the server will reject any connection which is not
458
458
  * authorized with the list of supplied CAs. This option only has an