Allow TypeScript definitions work with strictNullChecks

See https://github.com/electron/electron-typescript-definitions/issues/25
This commit is contained in:
Andrey Kurdyumov 2017-07-12 20:29:32 +06:00 committed by GitHub
parent 30df0f3306
commit 189be18dd2

View file

@ -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.