From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/@types/node/inspector.d.ts | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts
index c3a7785..cf385b7 100644
--- a/node_modules/@types/node/inspector.d.ts
+++ b/node_modules/@types/node/inspector.d.ts
@@ -1,8 +1,3 @@
-/**
- * The `node:inspector` module provides an API for interacting with the V8
- * inspector.
- * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/inspector.js)
- */
declare module "node:inspector" {
import { EventEmitter } from "node:events";
/**
@@ -218,6 +213,51 @@
*/
function put(url: string, data: string): void;
}
+ namespace DOMStorage {
+ /**
+ * This feature is only available with the
+ * `--experimental-storage-inspection` flag enabled.
+ *
+ * Broadcasts the `DOMStorage.domStorageItemAdded` event to connected frontends.
+ * This event indicates that a new item has been added to the storage.
+ * @since v25.5.0
+ */
+ function domStorageItemAdded(params: DomStorageItemAddedEventDataType): void;
+ /**
+ * This feature is only available with the
+ * `--experimental-storage-inspection` flag enabled.
+ *
+ * Broadcasts the `DOMStorage.domStorageItemRemoved` event to connected frontends.
+ * This event indicates that an item has been removed from the storage.
+ * @since v25.5.0
+ */
+ function domStorageItemRemoved(params: DomStorageItemRemovedEventDataType): void;
+ /**
+ * This feature is only available with the
+ * `--experimental-storage-inspection` flag enabled.
+
+ * Broadcasts the `DOMStorage.domStorageItemUpdated` event to connected frontends.
+ * This event indicates that a storage item has been updated.
+ * @since v25.5.0
+ */
+ function domStorageItemUpdated(params: DomStorageItemUpdatedEventDataType): void;
+ /**
+ * This feature is only available with the
+ * `--experimental-storage-inspection` flag enabled.
+ *
+ * Broadcasts the `DOMStorage.domStorageItemsCleared` event to connected
+ * frontends. This event indicates that all items have been cleared from the
+ * storage.
+ * @since v25.5.0
+ */
+ function domStorageItemsCleared(params: DomStorageItemsClearedEventDataType): void;
+ /**
+ * This feature is only available with the
+ * `--experimental-storage-inspection` flag enabled.
+ * @since v25.5.0
+ */
+ function registerStorage(params: unknown): void;
+ }
}
declare module "inspector" {
export * from "node:inspector";
--
Gitblit v1.9.3