electron-types 40.8.4 → 40.9.1

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
@@ -11,11 +11,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
11
11
  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)):
12
12
 
13
13
  ```bash
14
- npm install -D electron-types@40.8.4
14
+ npm install -D electron-types@40.9.1
15
15
  # or
16
- yarn add -D electron-types@40.8.4
16
+ yarn add -D electron-types@40.9.1
17
17
  # or
18
- pnpm add -D electron-types@40.8.4
18
+ pnpm add -D electron-types@40.9.1
19
19
  ```
20
20
 
21
21
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 40.8.4
1
+ // Type definitions for Electron 40.9.1
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
@@ -9342,8 +9342,7 @@ declare namespace Electron {
9342
9342
  * the additional effect of removing the menu bar from the window.
9343
9343
  *
9344
9344
  * > [!NOTE] The default menu will be created automatically if the app does not set
9345
- * one. It contains standard items such as `File`, `Edit`, `View`, `Window` and
9346
- * `Help`.
9345
+ * one. It contains standard items such as `File`, `Edit`, `View`, and `Window`.
9347
9346
  */
9348
9347
  static setApplicationMenu(menu: (Menu) | (null)): void;
9349
9348
  /**
@@ -22450,6 +22449,11 @@ declare namespace Electron {
22450
22449
  * true. Default false.
22451
22450
  */
22452
22451
  codeCache?: boolean;
22452
+ /**
22453
+ * Allow Chrome extensions to be used on pages served over this protocol. Default
22454
+ * false.
22455
+ */
22456
+ allowExtensions?: boolean;
22453
22457
  }
22454
22458
 
22455
22459
  interface ProgressBarOptions {
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "40.8.4",
3
- "extractedAt": "2026-03-25T12:27:37.266Z"
2
+ "electronVersion": "40.9.1",
3
+ "extractedAt": "2026-04-16T00:59:49.777Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "40.8.4",
3
+ "version": "40.9.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",