summaryrefslogtreecommitdiff
path: root/source/features/embed-gist-inline.tsx
diff options
context:
space:
mode:
authorGravatar Federico <me@fregante.com> 2021-01-02 00:16:23 -0600
committerGravatar GitHub <noreply@github.com> 2021-01-02 00:16:23 -0600
commit334f38f0f12ce88a73e61478ded54693146f6c04 (patch)
treea2a12b7816a3d70fb8f0afeaa082da7281f76173 /source/features/embed-gist-inline.tsx
parent23f05c1abff354f49175eecb14f0b08fbe5c22e8 (diff)
downloadrefined-github-334f38f0f12ce88a73e61478ded54693146f6c04.tar.gz
refined-github-334f38f0f12ce88a73e61478ded54693146f6c04.tar.zst
refined-github-334f38f0f12ce88a73e61478ded54693146f6c04.zip
Meta: Infer better types in `querySelector` and `select-dom` (#3831)
Diffstat (limited to 'source/features/embed-gist-inline.tsx')
-rw-r--r--source/features/embed-gist-inline.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx
index a333c6c1..10b9c203 100644
--- a/source/features/embed-gist-inline.tsx
+++ b/source/features/embed-gist-inline.tsx
@@ -46,7 +46,7 @@ async function embedGist(link: HTMLAnchorElement): Promise<void> {
}
function init(): void {
- select.all<HTMLAnchorElement>('.js-comment-body p a:only-child')
+ select.all('.js-comment-body p a:only-child')
.filter(item => isGist(item) && isOnlyChild(item))
.forEach(embedGist);
}