electron-types 41.0.0-alpha.2 → 41.0.0-alpha.4

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@41.0.0-alpha.2
14
+ npm install -D electron-types@41.0.0-alpha.4
15
15
  # or
16
- yarn add -D electron-types@41.0.0-alpha.2
16
+ yarn add -D electron-types@41.0.0-alpha.4
17
17
  # or
18
- pnpm add -D electron-types@41.0.0-alpha.2
18
+ pnpm add -D electron-types@41.0.0-alpha.4
19
19
  ```
20
20
 
21
21
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 41.0.0-alpha.2
1
+ // Type definitions for Electron 41.0.0-alpha.4
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
@@ -26019,11 +26019,11 @@ declare namespace NodeJS {
26019
26019
  */
26020
26020
  noAsar: boolean;
26021
26021
  /**
26022
- * A `boolean` that controls whether or not deprecation warnings are printed to
26023
- * `stderr`. Setting this to `true` will silence deprecation warnings. This
26024
- * property is used instead of the `--no-deprecation` command line flag.
26022
+ * A `boolean` (optional) that controls whether or not deprecation warnings are
26023
+ * printed to `stderr`. Setting this to `true` will silence deprecation warnings.
26024
+ * This property is used instead of the `--no-deprecation` command line flag.
26025
26025
  */
26026
- noDeprecation: boolean;
26026
+ noDeprecation?: boolean;
26027
26027
  /**
26028
26028
  * A `Electron.ParentPort` property if this is a `UtilityProcess` (or `null`
26029
26029
  * otherwise) allowing communication with the parent process.
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "41.0.0-alpha.2",
3
- "extractedAt": "2026-01-22T18:13:08.285Z"
2
+ "electronVersion": "41.0.0-alpha.4",
3
+ "extractedAt": "2026-01-29T18:21:08.073Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "41.0.0-alpha.2",
3
+ "version": "41.0.0-alpha.4",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",