Browse Source

Merge pull request #9988 from kant2002/patch-1

Allow TypeScript definitions work with strictNullChecks
Zeke Sikelianos 7 years ago
parent
commit
d0130e1b09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/browser-window.md

+ 1 - 1
docs/api/browser-window.md

@@ -1143,7 +1143,7 @@ Same as `webContents.reload`.
 
 #### `win.setMenu(menu)` _Linux_ _Windows_
 
-* `menu` Menu
+* `menu` Menu | null
 
 Sets the `menu` as the window's menu bar, setting it to `null` will remove the
 menu bar.