electron-types 42.1.0 → 42.2.0

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.1.0
18
+ npm install -D electron-types@42.2.0
19
19
  # or
20
- yarn add -D electron-types@42.1.0
20
+ yarn add -D electron-types@42.2.0
21
21
  # or
22
- pnpm add -D electron-types@42.1.0
22
+ pnpm add -D electron-types@42.2.0
23
23
  ```
24
24
 
25
25
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 42.1.0
1
+ // Type definitions for Electron 42.2.0
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
@@ -10319,7 +10319,7 @@ declare namespace Electron {
10319
10319
  * Emitted when an error is encountered while creating and showing the native
10320
10320
  * notification.
10321
10321
  *
10322
- * @platform win32
10322
+ * @platform darwin,win32
10323
10323
  */
10324
10324
  on(event: 'failed', listener: (event: Event,
10325
10325
  /**
@@ -10327,7 +10327,7 @@ declare namespace Electron {
10327
10327
  */
10328
10328
  error: string) => void): this;
10329
10329
  /**
10330
- * @platform win32
10330
+ * @platform darwin,win32
10331
10331
  */
10332
10332
  off(event: 'failed', listener: (event: Event,
10333
10333
  /**
@@ -10335,7 +10335,7 @@ declare namespace Electron {
10335
10335
  */
10336
10336
  error: string) => void): this;
10337
10337
  /**
10338
- * @platform win32
10338
+ * @platform darwin,win32
10339
10339
  */
10340
10340
  once(event: 'failed', listener: (event: Event,
10341
10341
  /**
@@ -10343,7 +10343,7 @@ declare namespace Electron {
10343
10343
  */
10344
10344
  error: string) => void): this;
10345
10345
  /**
10346
- * @platform win32
10346
+ * @platform darwin,win32
10347
10347
  */
10348
10348
  addListener(event: 'failed', listener: (event: Event,
10349
10349
  /**
@@ -10351,7 +10351,7 @@ declare namespace Electron {
10351
10351
  */
10352
10352
  error: string) => void): this;
10353
10353
  /**
10354
- * @platform win32
10354
+ * @platform darwin,win32
10355
10355
  */
10356
10356
  removeListener(event: 'failed', listener: (event: Event,
10357
10357
  /**
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "42.1.0",
3
- "extractedAt": "2026-05-15T07:21:56.058Z"
2
+ "electronVersion": "42.2.0",
3
+ "extractedAt": "2026-05-20T07:28:59.495Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "42.1.0",
3
+ "version": "42.2.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",