@types/node 20.17.10 → 20.17.12

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 v20.17/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/v20.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 11 Dec 2024 09:35:14 GMT
11
+ * Last updated: Mon, 06 Jan 2025 10:36:33 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v20.17/events.d.ts CHANGED
@@ -768,7 +768,7 @@ declare module "events" {
768
768
  setMaxListeners(n: number): this;
769
769
  /**
770
770
  * Returns the current max listener value for the `EventEmitter` which is either
771
- * set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}.
771
+ * set by `emitter.setMaxListeners(n)` or defaults to {@link EventEmitter.defaultMaxListeners}.
772
772
  * @since v1.0.0
773
773
  */
774
774
  getMaxListeners(): number;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.17.10",
3
+ "version": "20.17.12",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  "undici-types": "~6.19.2"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "736e828a73db635bdc8f8cd0862545ee7a6d9afad526488b53031832b2a9b712",
218
+ "typesPublisherContentHash": "6d830d63daad7360f203579784732612f6998f2837c3ed3a313bed5ec2ca90c7",
219
219
  "typeScriptVersion": "5.0"
220
220
  }
node v20.17/timers.d.ts CHANGED
@@ -151,12 +151,12 @@ declare module "timers" {
151
151
  */
152
152
  function setTimeout<TArgs extends any[]>(
153
153
  callback: (...args: TArgs) => void,
154
- ms?: number,
154
+ delay?: number,
155
155
  ...args: TArgs
156
156
  ): NodeJS.Timeout;
157
157
  // util.promisify no rest args compability
158
158
  // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
159
- function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
159
+ function setTimeout(callback: (args: void) => void, delay?: number): NodeJS.Timeout;
160
160
  namespace setTimeout {
161
161
  const __promisify__: typeof setTimeoutPromise;
162
162
  }
@@ -183,12 +183,12 @@ declare module "timers" {
183
183
  */
184
184
  function setInterval<TArgs extends any[]>(
185
185
  callback: (...args: TArgs) => void,
186
- ms?: number,
186
+ delay?: number,
187
187
  ...args: TArgs
188
188
  ): NodeJS.Timeout;
189
189
  // util.promisify no rest args compability
190
190
  // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
191
- function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
191
+ function setInterval(callback: (args: void) => void, delay?: number): NodeJS.Timeout;
192
192
  namespace setInterval {
193
193
  const __promisify__: typeof setIntervalPromise;
194
194
  }