diff --git a/types/jquery.contextmenu/index.d.ts b/types/jquery.contextmenu/index.d.ts index 5e449a96ff..a74f5cbbd7 100644 --- a/types/jquery.contextmenu/index.d.ts +++ b/types/jquery.contextmenu/index.d.ts @@ -22,8 +22,8 @@ interface JQueryContextMenuOptions { hide?: string; }; events?: { - show?: () => void; - hide?: () => void; + show?: (options: any) => boolean; + hide?: (options: any) => boolean; }; callback?: (key: any, options: any) => any; items?: any;