mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Allow TypeScript definitions work with strictNullChecks
See https://github.com/electron/electron-typescript-definitions/issues/25
This commit is contained in:
@@ -1110,7 +1110,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.
|
||||
|
||||
Reference in New Issue
Block a user