@types/node 20.17.11 → 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, 01 Jan 2025 01:30:02 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.17.11",
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": "e5fbbca57e953f4c1e657aa79487fc1975f8a0537cf0ba0bcb6f9069d3db4c25",
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
  }