electron-types 46.0.0-alpha.2 → 46.0.0-alpha.3

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.
package/README.md CHANGED
@@ -14,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
14
14
  Since this package only provides TypeScript types, install it as a dev dependency. **Install the version that matches your Electron version** (see [Version Matching](#version-matching)):
15
15
 
16
16
  ```bash
17
- npm install -D electron-types@46.0.0-alpha.2
17
+ npm install -D electron-types@46.0.0-alpha.3
18
18
  # or
19
- yarn add -D electron-types@46.0.0-alpha.2
19
+ yarn add -D electron-types@46.0.0-alpha.3
20
20
  # or
21
- pnpm add -D electron-types@46.0.0-alpha.2
21
+ pnpm add -D electron-types@46.0.0-alpha.3
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 46.0.0-alpha.2
1
+ // Type definitions for Electron 46.0.0-alpha.3
2
2
  // Project: http://electronjs.org/
3
3
  // Definitions by: The Electron Team <https://github.com/electron/electron>
4
4
  // Definitions: https://github.com/electron/typescript-definitions
@@ -21164,6 +21164,10 @@ declare namespace Electron {
21164
21164
  */
21165
21165
  addEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void, useCapture?: boolean): this;
21166
21166
  removeEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void): this;
21167
+ /**
21168
+ * Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
21169
+ * a link in its context menu.
21170
+ */
21167
21171
  addEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void, useCapture?: boolean): this;
21168
21172
  removeEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void): this;
21169
21173
  /**
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "46.0.0-alpha.2",
3
- "extractedAt": "2026-10-26T22:12:57.083Z"
2
+ "electronVersion": "46.0.0-alpha.3",
3
+ "extractedAt": "2026-10-30T00:26:38.275Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "46.0.0-alpha.2",
3
+ "version": "46.0.0-alpha.3",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",