From 564a23c0b5857500df82cf4f2731763dd8da38c3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 12 Dec 2023 10:34:08 +0900 Subject: [PATCH] fix type --- packages/frontend/src/os.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;