@types/node 22.18.12 → 22.18.13

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 v22.18/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/v22.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 21 Oct 2025 00:04:31 GMT
11
+ * Last updated: Tue, 28 Oct 2025 17:37:26 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": "22.18.12",
3
+ "version": "22.18.13",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -140,6 +140,6 @@
140
140
  "undici-types": "~6.21.0"
141
141
  },
142
142
  "peerDependencies": {},
143
- "typesPublisherContentHash": "2358cf6f294ef6d061d17b649819bd37ff8d1f5c8be3482b07202973a8fae1f0",
143
+ "typesPublisherContentHash": "b8ac24154056ed24fb8db73d5167bc4d35ca1997a14be6a7384587fe6f34f75c",
144
144
  "typeScriptVersion": "5.2"
145
145
  }
@@ -1,5 +1,5 @@
1
1
  declare module "process" {
2
- import { Control, MessageOptions } from "node:child_process";
2
+ import { Control, MessageOptions, SendHandle } from "node:child_process";
3
3
  import { PathLike } from "node:fs";
4
4
  import * as tty from "node:tty";
5
5
  import { Worker } from "node:worker_threads";
@@ -334,7 +334,7 @@ declare module "process" {
334
334
  */
335
335
  type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
336
336
  type WarningListener = (warning: Error) => void;
337
- type MessageListener = (message: unknown, sendHandle: unknown) => void;
337
+ type MessageListener = (message: unknown, sendHandle: SendHandle) => void;
338
338
  type SignalsListener = (signal: Signals) => void;
339
339
  type MultipleResolveListener = (
340
340
  type: MultipleResolveType,
@@ -1765,7 +1765,7 @@ declare module "process" {
1765
1765
  */
1766
1766
  send?(
1767
1767
  message: any,
1768
- sendHandle?: any,
1768
+ sendHandle?: SendHandle,
1769
1769
  options?: MessageOptions,
1770
1770
  callback?: (error: Error | null) => void,
1771
1771
  ): boolean;
@@ -1969,7 +1969,7 @@ declare module "process" {
1969
1969
  emit(event: "uncaughtExceptionMonitor", error: Error): boolean;
1970
1970
  emit(event: "unhandledRejection", reason: unknown, promise: Promise<unknown>): boolean;
1971
1971
  emit(event: "warning", warning: Error): boolean;
1972
- emit(event: "message", message: unknown, sendHandle: unknown): this;
1972
+ emit(event: "message", message: unknown, sendHandle: SendHandle): this;
1973
1973
  emit(event: Signals, signal?: Signals): boolean;
1974
1974
  emit(
1975
1975
  event: "multipleResolves",