Allow TypeScript definitions work with strictNullChecks
See https://github.com/electron/electron-typescript-definitions/issues/25
This commit is contained in:
parent
30df0f3306
commit
189be18dd2
1 changed files with 1 additions and 1 deletions
|
@ -1110,7 +1110,7 @@ Same as `webContents.reload`.
|
||||||
|
|
||||||
#### `win.setMenu(menu)` _Linux_ _Windows_
|
#### `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
|
Sets the `menu` as the window's menu bar, setting it to `null` will remove the
|
||||||
menu bar.
|
menu bar.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue