electron-types 42.4.1 → 42.5.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 +7 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,11 +15,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
|
|
|
15
15
|
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)):
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm install -D electron-types@42.
|
|
18
|
+
npm install -D electron-types@42.5.0
|
|
19
19
|
# or
|
|
20
|
-
yarn add -D electron-types@42.
|
|
20
|
+
yarn add -D electron-types@42.5.0
|
|
21
21
|
# or
|
|
22
|
-
pnpm add -D electron-types@42.
|
|
22
|
+
pnpm add -D electron-types@42.5.0
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 42.
|
|
1
|
+
// Type definitions for Electron 42.5.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
|
|
@@ -7117,6 +7117,8 @@ declare namespace Electron {
|
|
|
7117
7117
|
* * Click on one of the `M` symbols
|
|
7118
7118
|
* * Click on a `☰` triple bar icon (e.g., in the `malloc` column)
|
|
7119
7119
|
*
|
|
7120
|
+
* [Image: Screenshot showing how to view a heapdump in Chromium's tracing view]
|
|
7121
|
+
*
|
|
7120
7122
|
* @experimental
|
|
7121
7123
|
*/
|
|
7122
7124
|
enableHeapProfiling(options?: EnableHeapProfilingOptions): Promise<void>;
|
|
@@ -17744,7 +17746,11 @@ declare namespace Electron {
|
|
|
17744
17746
|
*
|
|
17745
17747
|
* Before:
|
|
17746
17748
|
*
|
|
17749
|
+
* [Image: Image Before Text Selection Adjustment]
|
|
17750
|
+
*
|
|
17747
17751
|
* After:
|
|
17752
|
+
*
|
|
17753
|
+
* [Image: Image After Text Selection Adjustment]
|
|
17748
17754
|
*/
|
|
17749
17755
|
adjustSelection(options: AdjustSelectionOptions): void;
|
|
17750
17756
|
/**
|
package/dist/version.json
CHANGED