electron-types 42.3.0 → 42.3.2

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
@@ -15,11 +15,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
15
15
  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)):
16
16
 
17
17
  ```bash
18
- npm install -D electron-types@42.3.0
18
+ npm install -D electron-types@42.3.2
19
19
  # or
20
- yarn add -D electron-types@42.3.0
20
+ yarn add -D electron-types@42.3.2
21
21
  # or
22
- pnpm add -D electron-types@42.3.0
22
+ pnpm add -D electron-types@42.3.2
23
23
  ```
24
24
 
25
25
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 42.3.0
1
+ // Type definitions for Electron 42.3.2
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
@@ -2229,6 +2229,10 @@ declare namespace Electron {
2229
2229
  removeListener(event: 'maximize', listener: () => void): this;
2230
2230
  /**
2231
2231
  * Emitted when the window is minimized.
2232
+ *
2233
+ * > [!NOTE] On Wayland, “minimized” is not currently a supported state. The
2234
+ * minimize event will only fire when triggered by client-side decoration (e.g.
2235
+ * clicking the minimize button on a frameless window’s Window Control Overlay)
2232
2236
  */
2233
2237
  on(event: 'minimize', listener: () => void): this;
2234
2238
  off(event: 'minimize', listener: () => void): this;
@@ -4398,6 +4402,10 @@ declare namespace Electron {
4398
4402
  removeListener(event: 'maximize', listener: () => void): this;
4399
4403
  /**
4400
4404
  * Emitted when the window is minimized.
4405
+ *
4406
+ * > [!NOTE] On Wayland, “minimized” is not currently a supported state. The
4407
+ * minimize event will only fire when triggered by client-side decoration (e.g.
4408
+ * clicking the minimize button on a frameless window’s Window Control Overlay)
4401
4409
  */
4402
4410
  on(event: 'minimize', listener: () => void): this;
4403
4411
  off(event: 'minimize', listener: () => void): this;
@@ -4406,6 +4414,10 @@ declare namespace Electron {
4406
4414
  removeListener(event: 'minimize', listener: () => void): this;
4407
4415
  /**
4408
4416
  * Emitted when the window is minimized.
4417
+ *
4418
+ * > [!NOTE] On Wayland, “minimized” is not currently a supported state. The
4419
+ * minimize event will only fire when triggered by client-side decoration (e.g.
4420
+ * clicking the minimize button on a frameless window’s Window Control Overlay)
4409
4421
  */
4410
4422
  on(event: 'minimize', listener: () => void): this;
4411
4423
  off(event: 'minimize', listener: () => void): this;
@@ -18110,7 +18122,7 @@ declare namespace Electron {
18110
18122
  * When `contents` is a `<webview>` tag, the `mode` would be `detach` by default,
18111
18123
  * explicitly passing an empty `mode` can force using last used dock state.
18112
18124
  *
18113
- * On Windows, if Windows Control Overlay is enabled, DevTools will be opened with
18125
+ * On Windows, if Window Control Overlay is enabled, DevTools will be opened with
18114
18126
  * `mode: 'detach'`.
18115
18127
  */
18116
18128
  openDevTools(options?: OpenDevToolsOptions): void;
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "42.3.0",
3
- "extractedAt": "2026-05-27T01:14:28.954Z"
2
+ "electronVersion": "42.3.2",
3
+ "extractedAt": "2026-06-02T19:28:01.628Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "42.3.0",
3
+ "version": "42.3.2",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",