mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Cheer up eslint
This commit is contained in:
parent
e6ada5f9d0
commit
b556c02a90
1 changed files with 1 additions and 2 deletions
|
@ -432,8 +432,7 @@ export function hintElements(elements: Element[], option = {}) {
|
|||
const first = await Promise.race([onSelect.promise, endPromise])
|
||||
if (first && typeof first === "object" && key in first) {
|
||||
yield first[key]
|
||||
}
|
||||
else return await endPromise
|
||||
} else return await endPromise
|
||||
}
|
||||
}
|
||||
const result = wrap()
|
||||
|
|
Loading…
Add table
Reference in a new issue