diff options
author | 2023-10-16 19:49:57 +0800 | |
---|---|---|
committer | 2023-10-16 19:49:57 +0800 | |
commit | b914499a90a779025254b62e2562cbd7869e410d (patch) | |
tree | c8f98c62393cc8cb528832fecdaf1b6019dca818 /source/features/one-click-pr-or-gist.tsx | |
parent | ba686ec428909508e4b8191f0d011be3e9c354c8 (diff) | |
download | refined-github-b914499a90a779025254b62e2562cbd7869e410d.tar.gz refined-github-b914499a90a779025254b62e2562cbd7869e410d.tar.zst refined-github-b914499a90a779025254b62e2562cbd7869e410d.zip |
Fix `textContent` types (#6983)
Diffstat (limited to 'source/features/one-click-pr-or-gist.tsx')
-rw-r--r-- | source/features/one-click-pr-or-gist.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/one-click-pr-or-gist.tsx b/source/features/one-click-pr-or-gist.tsx index 70d34796..4b964bab 100644 --- a/source/features/one-click-pr-or-gist.tsx +++ b/source/features/one-click-pr-or-gist.tsx @@ -15,8 +15,8 @@ function init(): void | false { } for (const dropdownItem of select.all('.select-menu-item', initialGroupedButtons)) { - let title = select('.select-menu-item-heading', dropdownItem)!.textContent!.trim(); - const description = select('.description', dropdownItem)!.textContent!.trim(); + let title = select('.select-menu-item-heading', dropdownItem)!.textContent.trim(); + const description = select('.description', dropdownItem)!.textContent.trim(); const radioButton = select('input[type=radio]', dropdownItem)!; const classList = ['btn', 'ml-2', 'tooltipped', 'tooltipped-s']; |