electron-types 41.1.1 → 41.2.1
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 +3 -3
- package/dist/electron.d.ts +7 -3
- package/dist/version.json +2 -2
- package/package.json +1 -1
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.
|
|
14
|
+
npm install -D electron-types@41.2.1
|
|
15
15
|
# or
|
|
16
|
-
yarn add -D electron-types@41.
|
|
16
|
+
yarn add -D electron-types@41.2.1
|
|
17
17
|
# or
|
|
18
|
-
pnpm add -D electron-types@41.
|
|
18
|
+
pnpm add -D electron-types@41.2.1
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 41.
|
|
1
|
+
// Type definitions for Electron 41.2.1
|
|
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
|
|
@@ -9368,8 +9368,7 @@ declare namespace Electron {
|
|
|
9368
9368
|
* the additional effect of removing the menu bar from the window.
|
|
9369
9369
|
*
|
|
9370
9370
|
* > [!NOTE] The default menu will be created automatically if the app does not set
|
|
9371
|
-
* one. It contains standard items such as `File`, `Edit`, `View`, `Window
|
|
9372
|
-
* `Help`.
|
|
9371
|
+
* one. It contains standard items such as `File`, `Edit`, `View`, and `Window`.
|
|
9373
9372
|
*/
|
|
9374
9373
|
static setApplicationMenu(menu: (Menu) | (null)): void;
|
|
9375
9374
|
/**
|
|
@@ -22488,6 +22487,11 @@ declare namespace Electron {
|
|
|
22488
22487
|
* true. Default false.
|
|
22489
22488
|
*/
|
|
22490
22489
|
codeCache?: boolean;
|
|
22490
|
+
/**
|
|
22491
|
+
* Allow Chrome extensions to be used on pages served over this protocol. Default
|
|
22492
|
+
* false.
|
|
22493
|
+
*/
|
|
22494
|
+
allowExtensions?: boolean;
|
|
22491
22495
|
}
|
|
22492
22496
|
|
|
22493
22497
|
interface ProgressBarOptions {
|
package/dist/version.json
CHANGED