electron-types 43.0.0-beta.4 → 43.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/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@43.0.0-beta.
|
|
18
|
+
npm install -D electron-types@43.0.0-beta.6
|
|
19
19
|
# or
|
|
20
|
-
yarn add -D electron-types@43.0.0-beta.
|
|
20
|
+
yarn add -D electron-types@43.0.0-beta.6
|
|
21
21
|
# or
|
|
22
|
-
pnpm add -D electron-types@43.0.0-beta.
|
|
22
|
+
pnpm add -D electron-types@43.0.0-beta.6
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 43.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 43.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
|
|
@@ -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>;
|
|
@@ -17770,7 +17772,11 @@ declare namespace Electron {
|
|
|
17770
17772
|
*
|
|
17771
17773
|
* Before:
|
|
17772
17774
|
*
|
|
17775
|
+
* [Image: Image Before Text Selection Adjustment]
|
|
17776
|
+
*
|
|
17773
17777
|
* After:
|
|
17778
|
+
*
|
|
17779
|
+
* [Image: Image After Text Selection Adjustment]
|
|
17774
17780
|
*/
|
|
17775
17781
|
adjustSelection(options: AdjustSelectionOptions): void;
|
|
17776
17782
|
/**
|
package/dist/version.json
CHANGED