Browse Source

docs: fix types of `app.dock` (#46073)

Niklas Wenzel 1 month ago
parent
commit
71f3ff6bf2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/app.md

+ 2 - 2
docs/api/app.md

@@ -1559,8 +1559,8 @@ command line arguments that Chromium uses.
 
 ### `app.dock` _macOS_ _Readonly_
 
-A [`Dock`](./dock.md) `| undefined` object that allows you to perform actions on your app icon in the user's
-dock on macOS.
+A `Dock | undefined` property ([`Dock`](./dock.md) on macOS, `undefined` on all other
+platforms) that allows you to perform actions on your app icon in the user's dock.
 
 ### `app.isPackaged` _Readonly_