electron-types 43.0.0 → 44.0.0-alpha.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 CHANGED
@@ -1,6 +1,5 @@
1
1
  # electron-types
2
2
 
3
- [![CI](https://badgen.net/github/checks/biw/electron-types)](https://github.com/biw/electron-types/actions)
4
3
  [![npm version](https://badgen.net/npm/v/electron-types)](https://www.npmjs.com/package/electron-types)
5
4
  [![npm downloads](https://badgen.net/npm/dt/electron-types)](https://www.npmjs.com/package/electron-types)
6
5
 
@@ -15,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
15
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)):
16
15
 
17
16
  ```bash
18
- npm install -D electron-types@43.0.0
17
+ npm install -D electron-types@44.0.0-alpha.1
19
18
  # or
20
- yarn add -D electron-types@43.0.0
19
+ yarn add -D electron-types@44.0.0-alpha.1
21
20
  # or
22
- pnpm add -D electron-types@43.0.0
21
+ pnpm add -D electron-types@44.0.0-alpha.1
23
22
  ```
24
23
 
25
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 43.0.0
1
+ // Type definitions for Electron 44.0.0-alpha.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
@@ -1158,7 +1158,7 @@ declare namespace Electron {
1158
1158
  /**
1159
1159
  * The current value displayed in the counter badge.
1160
1160
  *
1161
- * @platform linux,darwin
1161
+ * @platform darwin
1162
1162
  */
1163
1163
  getBadgeCount(): number;
1164
1164
  /**
@@ -1462,12 +1462,6 @@ declare namespace Electron {
1462
1462
  * @platform darwin
1463
1463
  */
1464
1464
  isSecureKeyboardEntryEnabled(): boolean;
1465
- /**
1466
- * Whether the current desktop environment is Unity launcher.
1467
- *
1468
- * @platform linux
1469
- */
1470
- isUnityRunning(): boolean;
1471
1465
  /**
1472
1466
  * Whether the move was successful. Please note that if the move is successful,
1473
1467
  * your application will quit and relaunch.
@@ -1681,18 +1675,13 @@ declare namespace Electron {
1681
1675
  /**
1682
1676
  * Whether the call succeeded.
1683
1677
  *
1684
- * Sets the counter badge for current app. Setting the count to `0` will hide the
1685
- * badge.
1686
- *
1687
- * On macOS, it shows on the dock icon. On Linux, it only works for Unity launcher.
1688
- *
1689
- * > [!NOTE] Unity launcher requires a `.desktop` file to work. For more
1690
- * information, please read the Unity integration documentation.
1678
+ * Sets the Dock icon counter badge for current app. Setting the count to `0` will
1679
+ * hide the badge.
1691
1680
  *
1692
- * > [!NOTE] On macOS, you need to ensure that your application has the permission
1693
- * to display notifications for this method to work.
1681
+ * > [!NOTE] You need to ensure that your application has the permission to display
1682
+ * notifications for this method to work.
1694
1683
  *
1695
- * @platform linux,darwin
1684
+ * @platform darwin
1696
1685
  */
1697
1686
  setBadgeCount(count?: number): boolean;
1698
1687
  /**
@@ -1921,18 +1910,13 @@ declare namespace Electron {
1921
1910
  applicationMenu: (Menu) | (null);
1922
1911
  /**
1923
1912
  * An `Integer` property that returns the badge count for current app. Setting the
1924
- * count to `0` will hide the badge.
1925
- *
1926
- * On macOS, setting this with any nonzero integer shows on the dock icon. On
1927
- * Linux, this property only works for Unity launcher.
1928
- *
1929
- * > [!NOTE] Unity launcher requires a `.desktop` file to work. For more
1930
- * information, please read the Unity integration documentation.
1913
+ * count to `0` will hide the badge. Setting this with any nonzero integer shows
1914
+ * the count on the Dock icon.
1931
1915
  *
1932
- * > [!NOTE] On macOS, you need to ensure that your application has the permission
1933
- * to display notifications for this property to take effect.
1916
+ * > [!NOTE] You need to ensure that your application has the permission to display
1917
+ * notifications for this property to take effect.
1934
1918
  *
1935
- * @platform linux,darwin
1919
+ * @platform darwin
1936
1920
  */
1937
1921
  badgeCount: number;
1938
1922
  /**
@@ -2895,6 +2879,8 @@ declare namespace Electron {
2895
2879
  invalidateShadow(): void;
2896
2880
  /**
2897
2881
  * Whether the window is always on top of other windows.
2882
+ *
2883
+ * Not supported on Wayland (Linux).
2898
2884
  */
2899
2885
  isAlwaysOnTop(): boolean;
2900
2886
  /**
@@ -3146,6 +3132,8 @@ declare namespace Electron {
3146
3132
  * Sets whether the window should show always on top of other windows. After
3147
3133
  * setting this, the window is still a normal window, not a toolbox window which
3148
3134
  * can not be focused on.
3135
+ *
3136
+ * Not supported on Wayland (Linux).
3149
3137
  */
3150
3138
  setAlwaysOnTop(flag: boolean, level?: 'normal' | 'floating' | 'torn-off-menu' | 'modal-panel' | 'main-menu' | 'status' | 'pop-up-menu' | 'screen-saver' | 'dock', relativeLevel?: number): void;
3151
3139
  /**
@@ -3404,13 +3392,11 @@ declare namespace Electron {
3404
3392
  * Remove progress bar when progress < 0; Change to indeterminate mode when
3405
3393
  * progress > 1.
3406
3394
  *
3407
- * On Linux platform, only supports Unity desktop environment, you need to specify
3408
- * the `*.desktop` file name to `desktopName` field in `package.json`. By default,
3409
- * it will assume `{app.name}.desktop`.
3410
- *
3411
3395
  * On Windows, a mode can be passed. Accepted values are `none`, `normal`,
3412
3396
  * `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
3413
3397
  * mode set (but with a value within the valid range), `normal` will be assumed.
3398
+ *
3399
+ * @platform win32,darwin
3414
3400
  */
3415
3401
  setProgressBar(progress: number, options?: ProgressBarOptions): void;
3416
3402
  /**
@@ -3785,7 +3771,7 @@ declare namespace Electron {
3785
3771
  acceptFirstMouse?: boolean;
3786
3772
  /**
3787
3773
  * Whether the window should always stay on top of other windows. Default is
3788
- * `false`.
3774
+ * `false`. Not supported on Wayland (Linux).
3789
3775
  */
3790
3776
  alwaysOnTop?: boolean;
3791
3777
  /**
@@ -5555,8 +5541,7 @@ declare namespace Electron {
5555
5541
  */
5556
5542
  getNormalBounds(): Rectangle;
5557
5543
  /**
5558
- * between 0.0 (fully transparent) and 1.0 (fully opaque). On Linux, always returns
5559
- * 1.
5544
+ * between 0.0 (fully transparent) and 1.0 (fully opaque).
5560
5545
  */
5561
5546
  getOpacity(): number;
5562
5547
  /**
@@ -5622,6 +5607,8 @@ declare namespace Electron {
5622
5607
  invalidateShadow(): void;
5623
5608
  /**
5624
5609
  * Whether the window is always on top of other windows.
5610
+ *
5611
+ * Not supported on Wayland (Linux).
5625
5612
  */
5626
5613
  isAlwaysOnTop(): boolean;
5627
5614
  /**
@@ -5919,6 +5906,8 @@ declare namespace Electron {
5919
5906
  * Sets whether the window should show always on top of other windows. After
5920
5907
  * setting this, the window is still a normal window, not a toolbox window which
5921
5908
  * can not be focused on.
5909
+ *
5910
+ * Not supported on Wayland (Linux).
5922
5911
  */
5923
5912
  setAlwaysOnTop(flag: boolean, level?: 'normal' | 'floating' | 'torn-off-menu' | 'modal-panel' | 'main-menu' | 'status' | 'pop-up-menu' | 'screen-saver' | 'dock', relativeLevel?: number): void;
5924
5913
  /**
@@ -6166,10 +6155,8 @@ declare namespace Electron {
6166
6155
  */
6167
6156
  setMovable(movable: boolean): void;
6168
6157
  /**
6169
- * Sets the opacity of the window. On Linux, does nothing. Out of bound number
6170
- * values are clamped to the [0, 1] range.
6171
- *
6172
- * @platform win32,darwin
6158
+ * Sets the opacity of the window. Out of bound number values are clamped to the
6159
+ * [0, 1] range.
6173
6160
  */
6174
6161
  setOpacity(opacity: number): void;
6175
6162
  /**
@@ -6196,13 +6183,11 @@ declare namespace Electron {
6196
6183
  * Remove progress bar when progress < 0; Change to indeterminate mode when
6197
6184
  * progress > 1.
6198
6185
  *
6199
- * On Linux platform, only supports Unity desktop environment, you need to specify
6200
- * the `*.desktop` file name to `desktopName` field in `package.json`. By default,
6201
- * it will assume `{app.name}.desktop`.
6202
- *
6203
6186
  * On Windows, a mode can be passed. Accepted values are `none`, `normal`,
6204
6187
  * `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
6205
6188
  * mode set (but with a value within the valid range), `normal` will be assumed.
6189
+ *
6190
+ * @platform win32,darwin
6206
6191
  */
6207
6192
  setProgressBar(progress: number, options?: ProgressBarOptions): void;
6208
6193
  /**
@@ -10241,6 +10226,14 @@ declare namespace Electron {
10241
10226
  *
10242
10227
  */
10243
10228
  readonly online: boolean;
10229
+ /**
10230
+ * > [!NOTE] This property is only available in the main process.
10231
+ *
10232
+ * A `typeof WebSocket` reference to the `WebSocket` class, which can be used to
10233
+ * create WHATWG-compatible WebSocket connections through Chromium's network stack
10234
+ * from the main process.
10235
+ */
10236
+ WebSocket: typeof WebSocket;
10244
10237
  }
10245
10238
 
10246
10239
  interface NetLog {
@@ -18053,6 +18046,10 @@ declare namespace Electron {
18053
18046
  * the current zoom level.
18054
18047
  */
18055
18048
  getZoomLevel(): number;
18049
+ /**
18050
+ * The current zoom mode. Can be `default`, `isolated`, `manual`, or `disabled`.
18051
+ */
18052
+ getZoomMode(): ('default' | 'isolated' | 'manual' | 'disabled');
18056
18053
  /**
18057
18054
  * Makes the browser go back a web page.
18058
18055
  *
@@ -18452,11 +18449,29 @@ declare namespace Electron {
18452
18449
  * limits of 300% and 50% of original size, respectively. The formula for this is
18453
18450
  * `scale := 1.2 ^ level`.
18454
18451
  *
18455
- * > [!NOTE] The zoom policy at the Chromium level is same-origin, meaning that the
18456
- * zoom level for a specific domain propagates across all instances of windows with
18457
- * the same domain. Differentiating the window URLs will make zoom work per-window.
18452
+ * > [!NOTE] The zoom policy at the Chromium level is same-origin by default,
18453
+ * meaning that the zoom level for a specific domain propagates across all
18454
+ * instances of windows with the same domain. To use per-webContents zoom instead,
18455
+ * set the zoom mode to `'isolated'` via `contents.setZoomMode('isolated')`.
18458
18456
  */
18459
18457
  setZoomLevel(level: number): void;
18458
+ /**
18459
+ * Sets the zoom mode for this web contents.
18460
+ *
18461
+ * * `default` - Zoom changes are handled automatically on a per-origin basis.
18462
+ * Other webContents navigated to the same origin will share the same zoom level.
18463
+ * * `isolated` - Zoom changes are handled automatically but on a per-webContents
18464
+ * basis. This webContents will not be affected by zoom changes in other
18465
+ * webContents, and vice versa.
18466
+ * * `manual` - Automatic zoom handling is disabled. The `zoom-changed` event will
18467
+ * still be dispatched, but the page will not actually be zoomed. The zoom level
18468
+ * can be managed manually by the application.
18469
+ * * `disabled` - All zooming in this webContents is disabled. The webContents will
18470
+ * revert to the default zoom level and all zoom changes will be ignored.
18471
+ *
18472
+ * The `isolated` and `manual` zoom modes persist across navigations.
18473
+ */
18474
+ setZoomMode(mode: 'default' | 'isolated' | 'manual' | 'disabled'): void;
18460
18475
  /**
18461
18476
  * Shows pop-up dictionary that searches the selected word on the page.
18462
18477
  *
@@ -18623,6 +18638,12 @@ declare namespace Electron {
18623
18638
  * respectively. The formula for this is `scale := 1.2 ^ level`.
18624
18639
  */
18625
18640
  zoomLevel: number;
18641
+ /**
18642
+ * A `string` property that determines the zoom mode for this web contents.
18643
+ *
18644
+ * See `contents.setZoomMode` for a description of the available modes.
18645
+ */
18646
+ zoomMode: string;
18626
18647
  }
18627
18648
 
18628
18649
  class WebContentsView extends View {
@@ -19321,6 +19342,11 @@ declare namespace Electron {
19321
19342
  * The default zoom factor of the page, `3.0` represents `300%`. Default is `1.0`.
19322
19343
  */
19323
19344
  zoomFactor?: number;
19345
+ /**
19346
+ * The initial zoom mode for the page. See `contents.setZoomMode` for available
19347
+ * modes. Default is `'default'`.
19348
+ */
19349
+ zoomMode?: string;
19324
19350
  }
19325
19351
 
19326
19352
  class WebRequest {
@@ -19455,6 +19481,147 @@ declare namespace Electron {
19455
19481
  urls: string[];
19456
19482
  }
19457
19483
 
19484
+ class WebSocket extends EventTarget {
19485
+
19486
+ // Docs: https://electronjs.org/docs/api/web-socket
19487
+
19488
+ /**
19489
+ * WebSocket
19490
+ */
19491
+ constructor(url: string, protocols?: (string) | (string[]) | (WebSocketOptions));
19492
+ /**
19493
+ * Closes the connection. Calling `close()` while still `CONNECTING` aborts the
19494
+ * handshake.
19495
+ */
19496
+ close(code?: number, reason?: string): void;
19497
+ /**
19498
+ * Enqueues `data` to be transmitted to the server. Throws an `InvalidStateError`
19499
+ * `DOMException` if `readyState` is `CONNECTING`.
19500
+ */
19501
+ send(data: (string) | (ArrayBufferLike) | (ArrayBufferView) | (Blob)): void;
19502
+ /**
19503
+ * A `string` controlling how incoming binary messages are exposed on the `message`
19504
+ * event. Can be `nodebuffer`, `arraybuffer`, or `blob`. The default is
19505
+ * `nodebuffer`.
19506
+ *
19507
+ * `'nodebuffer'` is an Electron extension that delivers binary messages as
19508
+ * `Buffer` objects, which is generally the most convenient representation in the
19509
+ * main process. Set `binaryType` to `'arraybuffer'` or `'blob'` for behavior
19510
+ * identical to the renderer `WebSocket`.
19511
+ */
19512
+ binaryType: ('nodebuffer' | 'arraybuffer' | 'blob');
19513
+ /**
19514
+ * An `Integer` representing the number of bytes of application data that have been
19515
+ * queued via `send()` but not yet handed off to the network.
19516
+ *
19517
+ */
19518
+ readonly bufferedAmount: number;
19519
+ /**
19520
+ * A `string` containing the extensions negotiated by the server (for example
19521
+ * `permessage-deflate`).
19522
+ *
19523
+ */
19524
+ readonly extensions: string;
19525
+ /**
19526
+ * A `Function | null` event handler for the `close` event. Equivalent to calling
19527
+ * `addEventListener('close', ...)`.
19528
+ */
19529
+ onclose: (Function) | (null);
19530
+ /**
19531
+ * A `Function | null` event handler for the `error` event. Equivalent to calling
19532
+ * `addEventListener('error', ...)`.
19533
+ */
19534
+ onerror: (Function) | (null);
19535
+ /**
19536
+ * A `Function | null` event handler for the `message` event. Equivalent to calling
19537
+ * `addEventListener('message', ...)`.
19538
+ */
19539
+ onmessage: (Function) | (null);
19540
+ /**
19541
+ * A `Function | null` event handler for the `open` event. Equivalent to calling
19542
+ * `addEventListener('open', ...)`.
19543
+ */
19544
+ onopen: (Function) | (null);
19545
+ /**
19546
+ * A `string` containing the subprotocol selected by the server. The empty string
19547
+ * until the connection is open or if the server did not select a subprotocol.
19548
+ *
19549
+ */
19550
+ readonly protocol: string;
19551
+ /**
19552
+ * An `Integer` representing the current state of the connection: one of
19553
+ * `WebSocket.CONNECTING` (`0`), `WebSocket.OPEN` (`1`), `WebSocket.CLOSING` (`2`),
19554
+ * or `WebSocket.CLOSED` (`3`).
19555
+ *
19556
+ */
19557
+ readonly readyState: number;
19558
+ /**
19559
+ * A `string` representing the resolved URL of the connection.
19560
+ *
19561
+ */
19562
+ readonly url: string;
19563
+ /**
19564
+ * An `Integer` constant equal to `3`, the `readyState` value once the connection
19565
+ * is closed.
19566
+ *
19567
+ */
19568
+ static readonly CLOSED: number;
19569
+ /**
19570
+ * An `Integer` constant equal to `2`, the `readyState` value while the closing
19571
+ * handshake is in progress.
19572
+ *
19573
+ */
19574
+ static readonly CLOSING: number;
19575
+ /**
19576
+ * An `Integer` constant equal to `0`, the `readyState` value while the opening
19577
+ * handshake is in progress.
19578
+ *
19579
+ */
19580
+ static readonly CONNECTING: number;
19581
+ /**
19582
+ * An `Integer` constant equal to `1`, the `readyState` value once the connection
19583
+ * is established.
19584
+ *
19585
+ */
19586
+ static readonly OPEN: number;
19587
+ }
19588
+
19589
+ interface WebSocketOptions {
19590
+
19591
+ // Docs: https://electronjs.org/docs/api/structures/web-socket-options
19592
+
19593
+ /**
19594
+ * Extra HTTP headers to send with the opening handshake.
19595
+ */
19596
+ headers?: Record<string, string>;
19597
+ /**
19598
+ * Value of the `Origin` header to send with the opening handshake. Defaults to the
19599
+ * `http(s)` equivalent of the WebSocket URL's origin (e.g. connecting to
19600
+ * `wss://api.example.com` sends `Origin: https://api.example.com`), so that the
19601
+ * connection is treated as same-origin by the server and by SameSite cookie rules.
19602
+ */
19603
+ origin?: string;
19604
+ /**
19605
+ * The name of the `partition` the connection is associated with. Defaults to the
19606
+ * empty string, which corresponds to the default session. If `session` is
19607
+ * provided, `partition` is ignored.
19608
+ */
19609
+ partition?: string;
19610
+ /**
19611
+ * Requested WebSocket subprotocols.
19612
+ */
19613
+ protocols?: (string) | (string[]);
19614
+ /**
19615
+ * The `Session` the connection is associated with.
19616
+ */
19617
+ session?: Session;
19618
+ /**
19619
+ * Whether to send cookies from the session with the opening handshake and store
19620
+ * cookies received in the handshake response. Default is `false`.
19621
+ */
19622
+ useSessionCookies?: boolean;
19623
+ }
19624
+
19458
19625
  interface WebSource {
19459
19626
 
19460
19627
  // Docs: https://electronjs.org/docs/api/structures/web-source
@@ -25121,6 +25288,7 @@ declare namespace Electron {
25121
25288
  type WebAuthnAccount = Electron.WebAuthnAccount;
25122
25289
  type WebPreferences = Electron.WebPreferences;
25123
25290
  type WebRequestFilter = Electron.WebRequestFilter;
25291
+ type WebSocketOptions = Electron.WebSocketOptions;
25124
25292
  type WebSource = Electron.WebSource;
25125
25293
  type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
25126
25294
  type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
@@ -25209,6 +25377,7 @@ declare namespace Electron {
25209
25377
  const webFrameMain: typeof WebFrameMain;
25210
25378
  type WebFrameMain = Electron.WebFrameMain;
25211
25379
  type WebRequest = Electron.WebRequest;
25380
+ class WebSocket extends Electron.WebSocket {}
25212
25381
  type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
25213
25382
  type AddRepresentationOptions = Electron.AddRepresentationOptions;
25214
25383
  type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
@@ -25528,6 +25697,7 @@ declare namespace Electron {
25528
25697
  type WebAuthnAccount = Electron.WebAuthnAccount;
25529
25698
  type WebPreferences = Electron.WebPreferences;
25530
25699
  type WebRequestFilter = Electron.WebRequestFilter;
25700
+ type WebSocketOptions = Electron.WebSocketOptions;
25531
25701
  type WebSource = Electron.WebSource;
25532
25702
  type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
25533
25703
  type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
@@ -25863,6 +26033,7 @@ declare namespace Electron {
25863
26033
  type WebAuthnAccount = Electron.WebAuthnAccount;
25864
26034
  type WebPreferences = Electron.WebPreferences;
25865
26035
  type WebRequestFilter = Electron.WebRequestFilter;
26036
+ type WebSocketOptions = Electron.WebSocketOptions;
25866
26037
  type WebSource = Electron.WebSource;
25867
26038
  type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
25868
26039
  type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
@@ -26197,6 +26368,7 @@ declare namespace Electron {
26197
26368
  type WebAuthnAccount = Electron.WebAuthnAccount;
26198
26369
  type WebPreferences = Electron.WebPreferences;
26199
26370
  type WebRequestFilter = Electron.WebRequestFilter;
26371
+ type WebSocketOptions = Electron.WebSocketOptions;
26200
26372
  type WebSource = Electron.WebSource;
26201
26373
  type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
26202
26374
  type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
@@ -26303,6 +26475,7 @@ declare namespace Electron {
26303
26475
  const webFrameMain: typeof WebFrameMain;
26304
26476
  type WebFrameMain = Electron.WebFrameMain;
26305
26477
  type WebRequest = Electron.WebRequest;
26478
+ class WebSocket extends Electron.WebSocket {}
26306
26479
  const webUtils: WebUtils;
26307
26480
  type WebUtils = Electron.WebUtils;
26308
26481
  type WebviewTag = Electron.WebviewTag;
@@ -26625,6 +26798,7 @@ declare namespace Electron {
26625
26798
  type WebAuthnAccount = Electron.WebAuthnAccount;
26626
26799
  type WebPreferences = Electron.WebPreferences;
26627
26800
  type WebRequestFilter = Electron.WebRequestFilter;
26801
+ type WebSocketOptions = Electron.WebSocketOptions;
26628
26802
  type WebSource = Electron.WebSource;
26629
26803
  type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
26630
26804
  type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "43.0.0",
3
- "extractedAt": "2026-06-30T18:48:03.690Z"
2
+ "electronVersion": "44.0.0-alpha.1",
3
+ "extractedAt": "2026-07-03T00:56:43.673Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "43.0.0",
3
+ "version": "44.0.0-alpha.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",