Skip to content

Commit 79a7eac

Browse files
committed
action: make command optional since we have non-command menu items
1 parent 41dfdba commit 79a7eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/action/menus.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
export interface MenuItem {
3-
command: string;
3+
command?: string;
44
//alt?: string;
55
when?: Function;
66
title?: Function;

0 commit comments

Comments
 (0)