10000 docs: fix electron.d.ts typings (#13855) · electron/electron@77093d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 77093d5

Browse files
trop[bot]MarshallOfSound
authored andcommitted
docs: fix electron.d.ts typings (#13855)
1 parent 8643863 commit 77093d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/browser-window.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ mode set (but with a value within the valid range), `normal` will be assumed.
11911191

11921192
#### `win.setOverlayIcon(overlay, description)` _Windows_
11931193

1194-
* `overlay` [NativeImage](native-image.md) - the icon to display on the bottom
1194+
* `overlay` [NativeImage](native-image.md) | null - the icon to display on the bottom
11951195
right corner of the taskbar icon. If this parameter is `null`, the overlay is
11961196
cleared
11971197
* `description` String - a description that will be provided to Accessibility

docs/api/tray.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Sets the `image` associated with this tray icon.
194194

195195
#### `tray.setPressedImage(image)` _macOS_
196196

197-
* `image` [NativeImage](native-image.md)
197+
* `image` ([NativeImage](native-image.md) | String)
198198

199199
Sets the `image` associated with this tray icon when pressed on macOS.
200200

0 commit comments

Comments
 (0)
0