electron-types 39.3.0 → 39.4.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
@@ -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@39.3.0
14
+ npm install -D electron-types@39.4.0
15
15
  # or
16
- yarn add -D electron-types@39.3.0
16
+ yarn add -D electron-types@39.4.0
17
17
  # or
18
- pnpm add -D electron-types@39.3.0
18
+ pnpm add -D electron-types@39.4.0
19
19
  ```
20
20
 
21
21
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 39.3.0
1
+ // Type definitions for Electron 39.4.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
@@ -13141,6 +13141,10 @@ declare namespace Electron {
13141
13141
  *
13142
13142
  * This moves a path to the OS-specific trash location (Trash on macOS, Recycle Bin
13143
13143
  * on Windows, and a desktop-environment-specific location on Linux).
13144
+ *
13145
+ * The path must use the default path separator for the platform (backslash on
13146
+ * Windows). Use `path.resolve()` from the `node:path` module to ensure correct
13147
+ * handling on all filesystems.
13144
13148
  */
13145
13149
  trashItem(path: string): Promise<void>;
13146
13150
  /**
@@ -25731,11 +25735,11 @@ declare namespace NodeJS {
25731
25735
  */
25732
25736
  noAsar: boolean;
25733
25737
  /**
25734
- * A `boolean` that controls whether or not deprecation warnings are printed to
25735
- * `stderr`. Setting this to `true` will silence deprecation warnings. This
25736
- * property is used instead of the `--no-deprecation` command line flag.
25738
+ * A `boolean` (optional) that controls whether or not deprecation warnings are
25739
+ * printed to `stderr`. Setting this to `true` will silence deprecation warnings.
25740
+ * This property is used instead of the `--no-deprecation` command line flag.
25737
25741
  */
25738
- noDeprecation: boolean;
25742
+ noDeprecation?: boolean;
25739
25743
  /**
25740
25744
  * A `Electron.ParentPort` property if this is a `UtilityProcess` (or `null`
25741
25745
  * otherwise) allowing communication with the parent process.
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "39.3.0",
3
- "extractedAt": "2026-01-21T18:21:19.173Z"
2
+ "electronVersion": "39.4.0",
3
+ "extractedAt": "2026-01-29T06:24:21.466Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "39.3.0",
3
+ "version": "39.4.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",