docs: fix electron.d.ts typings (#13857)
This commit is contained in:
parent
b08df88b7c
commit
91af624cb1
2 changed files with 2 additions and 2 deletions
|
@ -1231,7 +1231,7 @@ mode set (but with a value within the valid range), `normal` will be assumed.
|
|||
|
||||
#### `win.setOverlayIcon(overlay, description)` _Windows_
|
||||
|
||||
* `overlay` [NativeImage](native-image.md) - the icon to display on the bottom
|
||||
* `overlay` [NativeImage](native-image.md) | null - the icon to display on the bottom
|
||||
right corner of the taskbar icon. If this parameter is `null`, the overlay is
|
||||
cleared
|
||||
* `description` String - a description that will be provided to Accessibility
|
||||
|
|
|
@ -194,7 +194,7 @@ Sets the `image` associated with this tray icon.
|
|||
|
||||
#### `tray.setPressedImage(image)` _macOS_
|
||||
|
||||
* `image` [NativeImage](native-image.md)
|
||||
* `image` ([NativeImage](native-image.md) | String)
|
||||
|
||||
Sets the `image` associated with this tray icon when pressed on macOS.
|
||||
|
||||
|
|
Loading…
Reference in a new issue