From 433230413ea4c9e5b9d5c165fffe7be4c7145085 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 28 Feb 2021 19:09:08 +0900 Subject: [PATCH] Fix lint --- src/client/os.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/os.ts b/src/client/os.ts index e97c2d7ba0..2b72391bf5 100644 --- a/src/client/os.ts +++ b/src/client/os.ts @@ -305,7 +305,7 @@ export async function pickEmoji(src?: HTMLElement, opts) { type AwaitType = T extends Promise ? U : - T extends (...args: Array) => Promise ? V : + T extends (...args: any[]) => Promise ? V : T; let openingEmojiPicker: AwaitType> | null = null; let activeTextarea: HTMLTextAreaElement | HTMLInputElement | null = null;