Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit ed9fa39

Browse files
Merge pull request #184 from Lehoczky/master
Fix type declaration for `menu` option
2 parents 23d829d + fe67c35 commit ed9fa39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export interface MenubarOptions {
8989
* You can use `Menu` or not add this option and the menu created in the main process will be taken.
9090
* **The default menu is undefined**
9191
*/
92-
menu?: Menu;
92+
menu?: Menu | null;
9393
/**
9494
* The position of menubar on titlebar.
9595
* **The default is left**

0 commit comments

Comments
 (0)