diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index 57f705a72..b02f6aa64 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;