diff options
author | 2021-01-02 00:16:23 -0600 | |
---|---|---|
committer | 2021-01-02 00:16:23 -0600 | |
commit | 334f38f0f12ce88a73e61478ded54693146f6c04 (patch) | |
tree | a2a12b7816a3d70fb8f0afeaa082da7281f76173 /source/features/extend-diff-expander.tsx | |
parent | 23f05c1abff354f49175eecb14f0b08fbe5c22e8 (diff) | |
download | refined-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/extend-diff-expander.tsx')
-rw-r--r-- | source/features/extend-diff-expander.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/extend-diff-expander.tsx b/source/features/extend-diff-expander.tsx index fe16a599..f6006113 100644 --- a/source/features/extend-diff-expander.tsx +++ b/source/features/extend-diff-expander.tsx @@ -8,7 +8,7 @@ import features from '.'; function expandDiff(event: delegate.Event): void { // Skip if the user clicked directly on the icon if (!(event.target as Element).closest('.js-expand')) { - select<HTMLAnchorElement>('.js-expand', event.delegateTarget)!.click(); + select('.js-expand', event.delegateTarget)!.click(); } } |