We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e210d commit 6a2fdfdCopy full SHA for 6a2fdfd
src/content/utils.ts
@@ -62,8 +62,8 @@ async function findAllElement(
62
async function findElement(
63
selectors: string,
64
timeout = 10000
65
-): Promise<Element> {
66
- const element = await findBase<Element>(
+): Promise<HTMLElement> {
+ const element = await findBase<HTMLElement>(
67
() => document.querySelector(selectors),
68
el => !!el,
69
timeout
0 commit comments