This commit is contained in:
tamaina 2021-02-28 19:09:08 +09:00 committed by GitHub
parent 68ace4a311
commit 433230413e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ export async function pickEmoji(src?: HTMLElement, opts) {
type AwaitType<T> = type AwaitType<T> =
T extends Promise<infer U> ? U : T extends Promise<infer U> ? U :
T extends (...args: Array<any>) => Promise<infer V> ? V : T extends (...args: any[]) => Promise<infer V> ? V :
T; T;
let openingEmojiPicker: AwaitType<ReturnType<typeof popup>> | null = null; let openingEmojiPicker: AwaitType<ReturnType<typeof popup>> | null = null;
let activeTextarea: HTMLTextAreaElement | HTMLInputElement | null = null; let activeTextarea: HTMLTextAreaElement | HTMLInputElement | null = null;