electron-types 40.0.0-alpha.6 → 40.0.0-alpha.7

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.
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 40.0.0-alpha.6
1
+ // Type definitions for Electron 40.0.0-alpha.7
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
@@ -5654,6 +5654,9 @@ declare namespace Electron {
5654
5654
  /**
5655
5655
  * the promise will resolve when the page has finished loading (see
5656
5656
  * `did-finish-load`), and rejects if the page fails to load (see `did-fail-load`).
5657
+ * A noop rejection handler is already attached, which avoids unhandled rejection
5658
+ * errors. If the existing page has a beforeUnload handler, `did-fail-load` will be
5659
+ * called unless `will-prevent-unload` is handled.
5657
5660
  *
5658
5661
  * Same as `webContents.loadURL(url[, options])`.
5659
5662
  *
@@ -17619,7 +17622,8 @@ declare namespace Electron {
17619
17622
  * the promise will resolve when the page has finished loading (see
17620
17623
  * `did-finish-load`), and rejects if the page fails to load (see `did-fail-load`).
17621
17624
  * A noop rejection handler is already attached, which avoids unhandled rejection
17622
- * errors.
17625
+ * errors. If the existing page has a beforeUnload handler, `did-fail-load` will be
17626
+ * called unless `will-prevent-unload` is handled.
17623
17627
  *
17624
17628
  * Loads the `url` in the window. The `url` must contain the protocol prefix, e.g.
17625
17629
  * the `http://` or `file://`. If the load should bypass http cache then use the
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "40.0.0-alpha.6",
3
- "extractedAt": "2025-12-24T03:15:41.549Z"
2
+ "electronVersion": "40.0.0-alpha.7",
3
+ "extractedAt": "2025-12-24T03:15:36.229Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "40.0.0-alpha.6",
3
+ "version": "40.0.0-alpha.7",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",