electron-types 41.0.3 → 41.1.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 +10 -2
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,11 +11,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
|
|
|
11
11
|
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)):
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npm install -D electron-types@41.0
|
|
14
|
+
npm install -D electron-types@41.1.0
|
|
15
15
|
# or
|
|
16
|
-
yarn add -D electron-types@41.0
|
|
16
|
+
yarn add -D electron-types@41.1.0
|
|
17
17
|
# or
|
|
18
|
-
pnpm add -D electron-types@41.0
|
|
18
|
+
pnpm add -D electron-types@41.1.0
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 41.0
|
|
1
|
+
// Type definitions for Electron 41.1.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
|
|
@@ -9839,6 +9839,14 @@ declare namespace Electron {
|
|
|
9839
9839
|
*
|
|
9840
9840
|
*/
|
|
9841
9841
|
readonly prefersReducedTransparency: boolean;
|
|
9842
|
+
/**
|
|
9843
|
+
* A `boolean` that indicates whether the user prefers UI that differentiates items
|
|
9844
|
+
* using something other than color alone (e.g. shapes or labels). This maps to
|
|
9845
|
+
* NSWorkspace.accessibilityDisplayShouldDifferentiateWithoutColor.
|
|
9846
|
+
*
|
|
9847
|
+
* @platform darwin
|
|
9848
|
+
*/
|
|
9849
|
+
readonly shouldDifferentiateWithoutColor: boolean;
|
|
9842
9850
|
/**
|
|
9843
9851
|
* A `boolean` for if the OS / Chromium currently has a dark mode enabled or is
|
|
9844
9852
|
* being instructed to show a dark-style UI. If you want to modify this value you
|
|
@@ -21837,7 +21845,7 @@ declare namespace Electron {
|
|
|
21837
21845
|
/**
|
|
21838
21846
|
* The urgency level of the notification. Can be 'normal', 'critical', or 'low'.
|
|
21839
21847
|
*
|
|
21840
|
-
* @platform linux
|
|
21848
|
+
* @platform linux,win32
|
|
21841
21849
|
*/
|
|
21842
21850
|
urgency?: ('normal' | 'critical' | 'low');
|
|
21843
21851
|
/**
|
package/dist/version.json
CHANGED