diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2021-02-28 19:09:08 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-28 19:09:08 +0900 |
| commit | 433230413ea4c9e5b9d5c165fffe7be4c7145085 (patch) | |
| tree | 9782c4e3e9c2d6d459b243fc32061167b232f0f9 /src | |
| parent | 12.72.0 (diff) | |
| download | sharkey-433230413ea4c9e5b9d5c165fffe7be4c7145085.tar.gz sharkey-433230413ea4c9e5b9d5c165fffe7be4c7145085.tar.bz2 sharkey-433230413ea4c9e5b9d5c165fffe7be4c7145085.zip | |
Fix lint
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/os.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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> = 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; |