Fix lint
This commit is contained in:
parent
68ace4a311
commit
433230413e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue