electron-types 40.0.0-beta.4 → 40.0.0-beta.6

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/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) Electron contributors
4
- Copyright (c) 2024 electron-types contributors
4
+ Copyright (c) 2025 Ben Williams
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -11,28 +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
- # Replace X.Y.Z with your Electron version (e.g., 39.2.7)
15
- npm install -D electron-types@X.Y.Z
14
+ npm install -D electron-types@40.0.0-beta.6
16
15
  # or
17
- yarn add -D electron-types@X.Y.Z
16
+ yarn add -D electron-types@40.0.0-beta.6
18
17
  # or
19
- pnpm add -D electron-types@X.Y.Z
20
- ```
21
-
22
- You can also use semver ranges to stay compatible with your Electron version:
23
-
24
- ```bash
25
- # Match any 39.x.x version
26
- npm install -D electron-types@^39.0.0
27
-
28
- # Match any 39.2.x version
29
- npm install -D electron-types@~39.2.0
30
- ```
31
-
32
- Or install without a version to get the latest:
33
-
34
- ```bash
35
- npm install -D electron-types
18
+ pnpm add -D electron-types@40.0.0-beta.6
36
19
  ```
37
20
 
38
21
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 40.0.0-beta.4
1
+ // Type definitions for Electron 40.0.0-beta.6
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
@@ -3822,10 +3822,9 @@ declare namespace Electron {
3822
3822
  */
3823
3823
  resizable?: boolean;
3824
3824
  /**
3825
- * Whether frameless window should have rounded corners. Default is `true`. Setting
3826
- * this property to `false` will prevent the window from being fullscreenable on
3827
- * macOS. On Windows versions older than Windows 11 Build 22000 this property has
3828
- * no effect, and frameless windows will not have rounded corners.
3825
+ * Whether frameless window should have rounded corners. Default is `true`. On
3826
+ * Windows versions older than Windows 11 Build 22000 this property has no effect,
3827
+ * and frameless windows will not have rounded corners.
3829
3828
  *
3830
3829
  * @platform darwin,win32
3831
3830
  */
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "40.0.0-beta.4",
3
- "extractedAt": "2025-12-24T03:15:00.486Z"
2
+ "electronVersion": "40.0.0-beta.6",
3
+ "extractedAt": "2026-01-09T18:13:40.421Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "40.0.0-beta.4",
3
+ "version": "40.0.0-beta.6",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",