diff options
author | 2019-08-31 01:26:28 +0700 | |
---|---|---|
committer | 2019-08-31 01:26:28 +0700 | |
commit | 8d0393542bd712d7bb7f93874118dedd07b62c7b (patch) | |
tree | 0a139195466ba76bf5abdd6cbb979e55dcf3322a /source/features/hide-useless-comments.tsx | |
parent | 0ca864af6da9cac9f503e4abd0c58b60fbe1abc6 (diff) | |
download | refined-github-8d0393542bd712d7bb7f93874118dedd07b62c7b.tar.gz refined-github-8d0393542bd712d7bb7f93874118dedd07b62c7b.tar.zst refined-github-8d0393542bd712d7bb7f93874118dedd07b62c7b.zip |
Update dependencies and lint (#2391)19.8.31
Diffstat (limited to 'source/features/hide-useless-comments.tsx')
-rw-r--r-- | source/features/hide-useless-comments.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/hide-useless-comments.tsx b/source/features/hide-useless-comments.tsx index 98accf05..df40a45f 100644 --- a/source/features/hide-useless-comments.tsx +++ b/source/features/hide-useless-comments.tsx @@ -17,7 +17,7 @@ function init(): void { } // Ensure that they're not by VIPs (owner, collaborators, etc) - const comment = commentText.closest('.js-timeline-item') as HTMLElement; + const comment = commentText.closest<HTMLElement>('.js-timeline-item')!; if (select.exists('.timeline-comment-label', comment)) { continue; } |