@types/node 20.14.1 → 20.14.2

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/events.d.ts +5 -0
  3. node/package.json +2 -2
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (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, 03 Jun 2024 23:35:49 GMT
11
+ * Last updated: Wed, 05 Jun 2024 07:35:45 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/events.d.ts CHANGED
@@ -280,6 +280,11 @@ declare module "events" {
280
280
  */
281
281
  static on(
282
282
  emitter: NodeJS.EventEmitter,
283
+ eventName: string | symbol,
284
+ options?: StaticEventEmitterOptions,
285
+ ): AsyncIterableIterator<any>;
286
+ static on(
287
+ emitter: EventTarget,
283
288
  eventName: string,
284
289
  options?: StaticEventEmitterOptions,
285
290
  ): AsyncIterableIterator<any>;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.14.1",
3
+ "version": "20.14.2",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~5.26.4"
214
214
  },
215
- "typesPublisherContentHash": "455abc0b2a6d72d7977aaab5e4b453a7b36fbd90d6f0024b019fa63926420f36",
215
+ "typesPublisherContentHash": "43d05c87d286b3893e501b24310b8f43081bf151b225e4d88d87af1cf32fb63d",
216
216
  "typeScriptVersion": "4.7"
217
217
  }