diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index 57f705a726..b02f6aa640 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -546,7 +546,7 @@ export async function openEmojiPicker(src?: HTMLElement, opts, initialTextarea: }); } -export function popupMenu(items: MenuItem[] | Ref, src?: HTMLElement | null, options?: { +export function popupMenu(items: MenuItem[] | Ref, src?: HTMLElement | EventTarget | null, options?: { align?: string; width?: number; viaKeyboard?: boolean;