Cheer up eslint

This commit is contained in:
Oliver Blanthorn 2022-11-07 16:50:13 +01:00
parent e6ada5f9d0
commit b556c02a90
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -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()