forked from FoundKeyGang/FoundKey
Fix lint
This commit is contained in:
parent
68ace4a311
commit
433230413e
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ export async function pickEmoji(src?: HTMLElement, opts) {
|
|||
|
||||
type AwaitType<T> =
|
||||
T extends Promise<infer U> ? U :
|
||||
T extends (...args: Array<any>) => Promise<infer V> ? V :
|
||||
T extends (...args: any[]) => Promise<infer V> ? V :
|
||||
T;
|
||||
let openingEmojiPicker: AwaitType<ReturnType<typeof popup>> | null = null;
|
||||
let activeTextarea: HTMLTextAreaElement | HTMLInputElement | null = null;
|
||||
|
|
Loading…
Reference in a new issue