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 +1 -1
- package/README.md +3 -20
- package/dist/electron.d.ts +4 -5
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) Electron contributors
|
|
4
|
-
Copyright (c)
|
|
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
|
-
|
|
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@
|
|
16
|
+
yarn add -D electron-types@40.0.0-beta.6
|
|
18
17
|
# or
|
|
19
|
-
pnpm add -D electron-types@
|
|
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
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 40.0.0-beta.
|
|
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`.
|
|
3826
|
-
*
|
|
3827
|
-
*
|
|
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