From 91af624cb1131d1dee8267a5fd7b1e38e6144d2f Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Mon, 30 Jul 2018 11:20:19 +1000 Subject: [PATCH] docs: fix electron.d.ts typings (#13857) --- docs/api/browser-window.md | 2 +- docs/api/tray.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 3536b6581a3..16657f6d55f 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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 diff --git a/docs/api/tray.md b/docs/api/tray.md index 28892a33d12..c60f7ba4c9e 100644 --- a/docs/api/tray.md +++ b/docs/api/tray.md @@ -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.