Update MenuItem.d.ts

pull/2835/head
Tuğçe Küçükoğlu 2022-08-10 12:03:10 +03:00
parent ec2d9ac225
commit 923c3f8a84
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export interface MenuItem {
* Callback to execute when item is clicked.
* @param {@link MenuItemCommandEvent} event - Custom command event.
*/
command?: (event: MenuItemCommandEvent): void;
command?: (event: MenuItemCommandEvent) => void;
/**
* External link to navigate when item is clicked.
*/