electron-types 44.10.0 → 44.10.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 +5 -1
- 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.10.
|
|
17
|
+
npm install -D electron-types@44.10.1
|
|
18
18
|
# or
|
|
19
|
-
yarn add -D electron-types@44.10.
|
|
19
|
+
yarn add -D electron-types@44.10.1
|
|
20
20
|
# or
|
|
21
|
-
pnpm add -D electron-types@44.10.
|
|
21
|
+
pnpm add -D electron-types@44.10.1
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.10.
|
|
1
|
+
// Type definitions for Electron 44.10.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
|
|
@@ -20712,6 +20712,10 @@ declare namespace Electron {
|
|
|
20712
20712
|
*/
|
|
20713
20713
|
addEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void, useCapture?: boolean): this;
|
|
20714
20714
|
removeEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void): this;
|
|
20715
|
+
/**
|
|
20716
|
+
* Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
|
|
20717
|
+
* a link in its context menu.
|
|
20718
|
+
*/
|
|
20715
20719
|
addEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void, useCapture?: boolean): this;
|
|
20716
20720
|
removeEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void): this;
|
|
20717
20721
|
/**
|
package/dist/version.json
CHANGED