mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51: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])
|
const first = await Promise.race([onSelect.promise, endPromise])
|
||||||
if (first && typeof first === "object" && key in first) {
|
if (first && typeof first === "object" && key in first) {
|
||||||
yield first[key]
|
yield first[key]
|
||||||
}
|
} else return await endPromise
|
||||||
else return await endPromise
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const result = wrap()
|
const result = wrap()
|
||||||
|
|
Loading…
Add table
Reference in a new issue