electron-types 44.7.2 → 44.8.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 +3 -3
- package/dist/electron.d.ts +1 -18
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
|
|
|
14
14
|
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)):
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install -D electron-types@44.
|
|
17
|
+
npm install -D electron-types@44.8.0
|
|
18
18
|
# or
|
|
19
|
-
yarn add -D electron-types@44.
|
|
19
|
+
yarn add -D electron-types@44.8.0
|
|
20
20
|
# or
|
|
21
|
-
pnpm add -D electron-types@44.
|
|
21
|
+
pnpm add -D electron-types@44.8.0
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.
|
|
1
|
+
// Type definitions for Electron 44.8.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
|
|
@@ -10432,9 +10432,6 @@ declare namespace Electron {
|
|
|
10432
10432
|
|
|
10433
10433
|
// Docs: https://electronjs.org/docs/api/notification
|
|
10434
10434
|
|
|
10435
|
-
/**
|
|
10436
|
-
* @platform darwin,win32
|
|
10437
|
-
*/
|
|
10438
10435
|
on(event: 'action', listener: (details: Event<NotificationActionEventParams>,
|
|
10439
10436
|
/**
|
|
10440
10437
|
* @deprecated
|
|
@@ -10445,9 +10442,6 @@ declare namespace Electron {
|
|
|
10445
10442
|
* @platform win32
|
|
10446
10443
|
*/
|
|
10447
10444
|
selectionIndex: number) => void): this;
|
|
10448
|
-
/**
|
|
10449
|
-
* @platform darwin,win32
|
|
10450
|
-
*/
|
|
10451
10445
|
off(event: 'action', listener: (details: Event<NotificationActionEventParams>,
|
|
10452
10446
|
/**
|
|
10453
10447
|
* @deprecated
|
|
@@ -10458,9 +10452,6 @@ declare namespace Electron {
|
|
|
10458
10452
|
* @platform win32
|
|
10459
10453
|
*/
|
|
10460
10454
|
selectionIndex: number) => void): this;
|
|
10461
|
-
/**
|
|
10462
|
-
* @platform darwin,win32
|
|
10463
|
-
*/
|
|
10464
10455
|
once(event: 'action', listener: (details: Event<NotificationActionEventParams>,
|
|
10465
10456
|
/**
|
|
10466
10457
|
* @deprecated
|
|
@@ -10471,9 +10462,6 @@ declare namespace Electron {
|
|
|
10471
10462
|
* @platform win32
|
|
10472
10463
|
*/
|
|
10473
10464
|
selectionIndex: number) => void): this;
|
|
10474
|
-
/**
|
|
10475
|
-
* @platform darwin,win32
|
|
10476
|
-
*/
|
|
10477
10465
|
addListener(event: 'action', listener: (details: Event<NotificationActionEventParams>,
|
|
10478
10466
|
/**
|
|
10479
10467
|
* @deprecated
|
|
@@ -10484,9 +10472,6 @@ declare namespace Electron {
|
|
|
10484
10472
|
* @platform win32
|
|
10485
10473
|
*/
|
|
10486
10474
|
selectionIndex: number) => void): this;
|
|
10487
|
-
/**
|
|
10488
|
-
* @platform darwin,win32
|
|
10489
|
-
*/
|
|
10490
10475
|
removeListener(event: 'action', listener: (details: Event<NotificationActionEventParams>,
|
|
10491
10476
|
/**
|
|
10492
10477
|
* @deprecated
|
|
@@ -23012,8 +22997,6 @@ declare namespace Electron {
|
|
|
23012
22997
|
/**
|
|
23013
22998
|
* Actions to add to the notification. Please read the available actions and
|
|
23014
22999
|
* limitations in the `NotificationAction` documentation.
|
|
23015
|
-
*
|
|
23016
|
-
* @platform darwin,win32
|
|
23017
23000
|
*/
|
|
23018
23001
|
actions?: NotificationAction[];
|
|
23019
23002
|
/**
|
package/dist/version.json
CHANGED